How to run/kill/etc process when laptop on battery?
133792
Windows event id for battery level change
61757
Does `at` run a command later if the computer is off at the specified time?
153189
Windows 7 - How to run a script at shutdown but not at logoff
124632
Automatic shutdown at specified times?
53280
How can I kill a process by name instead of PID, on Linux?
70634
Prevent Windows 7 from sleep + power button hook
138665
How to run a command before the machine automatically shuts down?
24473
How to disable battery charging?
113162
What is it that kills laptop batteries?
96952
Powering down the display in XP with a command
108486
Automatically limit (stop) battery charging at a given percentage
28288
How do I kill background processes / jobs when my shell script exits?
143557
How can I run a program on startup, minimized?
12086
How to run a script without closing the terminal?
77019
How can I tell Ubuntu 14.10 to do nothing when I close my laptop lid?
67821
How to shutdown automatically when AC power is not available
17297
How do I kill processes in Ubuntu?