diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-06-04 13:16:34 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-06-04 13:16:34 +0000 |
commit | b817f601ba36d5651f8b9945ac8f576c83ea387c (patch) | |
tree | eb8bc9f3e591f536143e1cb2db9eabb173cadd22 | |
parent | 7eb6d002b41716836e9e0c969eb18353988a7ec9 (diff) |
Make simulator report 75% battery instead of 100%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3724 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/powermgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 00492bbcc6..45813319c6 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -42,7 +42,7 @@ int battery_level(void) { - return 100; + return 75; } int battery_time(void) @@ -52,7 +52,7 @@ int battery_time(void) bool battery_level_safe(void) { - return true; + return battery_level() >= 10; } void set_poweroff_timeout(int timeout) |