the following patch was just integrated into master: commit dbe6336f908800ec028dc1a1087d6782e5a38851 Author: Alexandru Gagniuc mr.nuke.me@gmail.com Date: Thu Apr 17 00:47:47 2014 -0500
hp/pavilion_m6_1035dx: Shutdown on low battery with non-ACPI OS
Intercept the low battery SMI from the EC, and shut down the system immediately. The EC only sends this SMI when the OS did not enable ACPI mode, so ACPI OSes are not affected by this. On the other hand, payloads such as GRUB or SeaBIOS will experience the shutdown. This behavior is helpful for protecting the battery, for example, when the OS fails to boot and we are stuck in the payload. The low battery SMI is triggered at 10% charge, at which point the risk of cell degradation exists.
Change-Id: I4c6c1a4feed8576cbdbb1945768de0805a1f5e42 Signed-off-by: Alexandru Gagniuc mr.nuke.me@gmail.com Reviewed-on: http://review.coreboot.org/5527 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin adurbin@gmail.com
See http://review.coreboot.org/5527 for details.
-gerrit