Programs crash when laptop switches from charging state to battery power

ashim8813

Honorable
Aug 3, 2012
16
0
10,560
Basically where I live sometimes the electricity supply to the house is momentarily cut for a minute or two. I have a Lenovo IdeaPad Y580

Specs: Intel i5-3210M, GeForce GTX 660M, 758GB SAMSUNG MZMPC064HBDR-000, 8.00GB Dual-Channel DDR3 @ 798MHz

My laptop is nearly always plugged into the wall socket when I'm using it (and so it's always in battery protection mode in Lenovo Energy Management). When it switches to the battery power during the electricity outage, my League of Legends game just crashes instantly. So far I've only noticed it happen when I am in a game of League, and it does not happen all the time when the laptop switches to battery power, but for the most part, League of Legends always crashes during the switch. Does anybody know how to fix this? (I should add that League does not crash when the reverse occurs, i.e., when I switch from battery power to the wall socket power supply)

Summary: Charging state (wall socket power supply) -> Battery power = League of Legends crashes
(My power plan is always High Performance). Thanks in advance! :D
 

jnewegger23

Distinguished
Aug 13, 2013
30
0
18,590
It may help to be plugged into a surge protector to prevent this. It sounds like the ampere changes are significant enough however brief to disrupt your system causing instability for the game to crash. It would be hard to theorize how exactly as some games are just finicky like that. For example, command and conquer 3 tiberium wars on my pc sometimes won't start up if I change the volume right before loading. I could guess all day why that happens but certain things just do that. Perhaps the dev on one of these games could explain it more directly but it's all conjecture (any devs want to chime in?). If you are plugged into a surge protected outlet then perhaps a ups could upgrade your situation (there's a lot of debate on this so do your homework first). Other than that I'm not sure but hope this helps!

Thanks,

Justin S.