summaryrefslogtreecommitdiff
path: root/flash/bootbox/main.c (follow)
Commit message (Collapse)AuthorAge
* Improved power management (FS#3001). Shutdown rockbox when the battery gets ↵Barry Wardell2006-11-11
| | | | | | to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
* General: changed local adc to voltage conversions in several places to use ↵Michael Sevakis2006-10-30
| | | | | | battery_voltage. Added battery_read_info function for unfiltered battery information. x5: removed adc_read as a distinct function. Removed adc tick task. adc_init is empty inline. Adjusted battery scale, voltage to level array and read 10 bits from the ADC for battery since 255 levels is not enough for true centivolt resolution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11396 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold2006-06-06
| | | | | | several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
* forgot to commit these improvements to the bootbox charging info, since ↵Jörg Hohensohn2005-08-23
| | | | | | quite a while git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7387 a1c6a512-1295-4272-9138-f99709370657
* Postfix for bootbox: charging screen reacts on ON press not release as well.Jens Arnold2005-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7105 a1c6a512-1295-4272-9138-f99709370657
* Fixed a long-standing bug in the charging screen. The charging screen froze ↵Jens Arnold2005-07-11
| | | | | | when OFF was pressed. The intention was to powerdown, but this cannot work on archos, so the charging screen must not react on OFF. Made the charging screen react on the ON press instead of the release for better feedback. Bootbox uses SYS_POWEROFF for powering down. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7104 a1c6a512-1295-4272-9138-f99709370657
* improvements suggested by Jens: prompt for USB in case of problems, handle ↵Jörg Hohensohn2005-07-10
| | | | | | power off button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7089 a1c6a512-1295-4272-9138-f99709370657
* I though I removed this unnecessary lineJörg Hohensohn2005-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6982 a1c6a512-1295-4272-9138-f99709370657
* fix for OndioJörg Hohensohn2005-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657
* Rolo problem fixedJörg Hohensohn2005-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6787 a1c6a512-1295-4272-9138-f99709370657
* "Bootbox" is a minimalistic rescue firmware for Archos models. Not working ↵Jörg Hohensohn2005-06-21
yet (Rolo problems). Created by configure script as bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6786 a1c6a512-1295-4272-9138-f99709370657