Quote:
Originally Posted by goldark
Is there a way to set up a laptop where if it detects it's running on the battery, that it automatically shuts down? (meaning I ONLY want it to be running on its power supply).
Is there a way to do it in Linux as well?
Thanks to any replies.
|
Try Power Option properties in Control Panel... select ALARM tab. Tick Activate low battery alarm. Set the slider to 100%. Set Alarm Action to SHUTDOWN.
May be the same is true if you set for Critical Battery Alarm... I have not tried this though.
Guess what... I tried it just now but I used this statement in
Run a Command 'C:\WINDOWS\system32\tsshutdn.exe 0 /DELAY:0'