If HAVE_POWEROFF_WHILE_CHARGING is not defined and the charging configuration specifi...
commitd4446b802b727855c64f8d6e997713d2b920f32c
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
parentc4bc2d2792936f4324632aef4cb4ce90a07eb1e7
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