diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-17 00:47:47 -0500 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2014-04-18 21:16:24 +0200 |
commit | dbe6336f908800ec028dc1a1087d6782e5a38851 (patch) | |
tree | b2c082ea33e1d3f3c051ae53a1732f8000a0a5bd /util/cbfstool/fv.h | |
parent | f3390862653f9473359eb9a587842bb04671e6df (diff) |
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>
Diffstat (limited to 'util/cbfstool/fv.h')
0 files changed, 0 insertions, 0 deletions