diff options
author | Stéphane Doyon <s.doyon@videotron.ca> | 2007-11-08 01:18:13 +0000 |
---|---|---|
committer | Stéphane Doyon <s.doyon@videotron.ca> | 2007-11-08 01:18:13 +0000 |
commit | 194a66ef83664b0ebd23b9bea031c67c3b80f6ac (patch) | |
tree | 9ced9e51f31b1435212ee269b64c0a1a77496465 | |
parent | c537760179bc321e4c8f94b7dca6e8204beece82 (diff) |
Trigger an additional battery level announcement when the level
reaches 5% (FS#8112).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15522 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 4d5cf5422f..9d23c6b86f 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -1226,7 +1226,7 @@ void shutdown_hw(void) levels. This must be called after battery_percent has been updated. */ static void send_battery_level_event(void) { - static const int levels[] = { 15, 30, 50, 0 }; + static const int levels[] = { 5, 15, 30, 50, 0 }; const int *level = levels; while (*level) { |