If HAVE_POWEROFF_WHILE_CHARGING is not defined and the charging configuration specifi...
commit5e5753b1429b13c15c437bac6d747c947ab2143b
authorjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 15 May 2010 15:03:16 +0000 (15 15:03 +0000)
committerjethead71 <jethead71@a1c6a512-1295-4272-9138-f99709370657>
Sat, 15 May 2010 15:03:16 +0000 (15 15:03 +0000)
tree1b29c055a2a8a646fca4412b2167ae39347dfc19
parent4cedf310d838762745b2d90c7b6713531044db75
If HAVE_POWEROFF_WHILE_CHARGING is not defined and the charging configuration specifies CHARGING_MONITOR or greater, allow poweroff while plugged but not actually charging the battery.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26055 a1c6a512-1295-4272-9138-f99709370657
apps/misc.c
firmware/drivers/button.c
firmware/powermgmt.c