summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c (follow)
Commit message (Collapse)AuthorAge
* Even better LCD clearing for ipod color displays, clear to white, but after ↵Brandon Low2006-03-27
| | | | | | backlight off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9293 a1c6a512-1295-4272-9138-f99709370657
* Clear the display in a less intrusive way to the user's selected background ↵Brandon Low2006-03-27
| | | | | | _color_ (solid color ghosting is hard to detect) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9288 a1c6a512-1295-4272-9138-f99709370657
* Patch 4819 from Robert Keevil to shutdown the codec and clear the LCD on ↵Brandon Low2006-03-27
| | | | | | ipod shutdown git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9286 a1c6a512-1295-4272-9138-f99709370657
* Add simulated battery drain to the simulator. Patch from Matthias Mohr (task ↵Dan Everton2006-03-25
| | | | | | 4886). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9247 a1c6a512-1295-4272-9138-f99709370657
* Fix red and yello build tableBrandon Low2006-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9062 a1c6a512-1295-4272-9138-f99709370657
* Proper charger input, usb and charger activity detection/reporting for ipod ↵Brandon Low2006-03-16
| | | | | | video git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9061 a1c6a512-1295-4272-9138-f99709370657
* Charging state reporting for iriver players. Values calibrated withMiika Pekkarinen2006-03-13
| | | | | | | | 1900 mAh Ionity battery; might need recalibration with the stock battery. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9030 a1c6a512-1295-4272-9138-f99709370657
* Archos V1 recorder charging path #2927 by Alun ThomasJörg Hohensohn2006-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8898 a1c6a512-1295-4272-9138-f99709370657
* Improved battery status reporting for units which support usb power / chargeBrandon Low2006-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8886 a1c6a512-1295-4272-9138-f99709370657
* iAudio X5: various fixes to make the bootloader compileLinus Nielsen Feltzing2006-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
* Fix all the simulator builds I brokeBrandon Low2006-01-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8456 a1c6a512-1295-4272-9138-f99709370657
* New "battery benchmark" plugin by Alexander Spyridakis, modified a bit by meHristo Kovachev2006-01-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8451 a1c6a512-1295-4272-9138-f99709370657
* Charging state reporting on H3x0Brandon Low2006-01-19
| | | | | | | | | | Don't read the GPIO every refresh of statusbar or gwps for plugged state, use a variable exported from powermgmt instead. Allow Custom WPS to access %bc for battery charge state on targets that support this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8383 a1c6a512-1295-4272-9138-f99709370657
* Part of patch #1407541 to improve battery smoothing by absorbing extra ↵Brandon Low2006-01-18
| | | | | | precision from the battery scale factor git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8372 a1c6a512-1295-4272-9138-f99709370657
* waiting is over: initial unicode commitMarcoen Hirschberg2005-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
* Replaced the booolean 'Backlight On When Plugged' setting with a complete ↵Jens Arnold2005-11-23
| | | | | | alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
* Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold2005-11-21
| | | | | | Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
* refactored radio status codeAnton Oleynikov2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7999 a1c6a512-1295-4272-9138-f99709370657
* H100: turn off remote backlight before cutting the powerLinus Nielsen Feltzing2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7975 a1c6a512-1295-4272-9138-f99709370657
* Moved the power_init() call to main(), removed unfinished inits for the H300Linus Nielsen Feltzing2005-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7964 a1c6a512-1295-4272-9138-f99709370657
* The power thread now monitors the shutdown process and forces a poweroff if ↵Linus Nielsen Feltzing2005-09-14
| | | | | | it takes more than 8 seconds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
* typos fixed...Michiel Van Der Kolk2005-08-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7287 a1c6a512-1295-4272-9138-f99709370657
* iAudio: First unfinished attempt for tlv320 driver and rockbox integrationChristian Gmeiner2005-08-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7286 a1c6a512-1295-4272-9138-f99709370657
* Adjustment for bootbox.Jens Arnold2005-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7107 a1c6a512-1295-4272-9138-f99709370657
* New poweroff handling, using the SYS_POWEROFF event, allowing plugins to ↵Linus Nielsen Feltzing2005-07-05
| | | | | | save their settings before powering off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7019 a1c6a512-1295-4272-9138-f99709370657
* Change current estimation for USB powered mode only if CURRENT_USB is less ↵Jens Arnold2005-06-23
| | | | | | than CURRENT_NORMAL (Ondio). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6838 a1c6a512-1295-4272-9138-f99709370657
* New feature for units that can be powered or charged from USB (Recorder ↵Jens Arnold2005-06-23
| | | | | | fm/v2, Ondios): USB power mode, based on patch #1110332 by Pieter Bos. This way you can save battery power or even charge the battery (fm/v2) while using your unit near a PC. Hold MODE (Ondio) or F1 (fm/v2) while plugging USB to enter that mode. A tiny USB plug icon will be displayed is the status bar (overridden by the regular power plug icon in case of fm/v2 when the charger is connected). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6836 a1c6a512-1295-4272-9138-f99709370657
* Better values for the iriver batteryMarcoen Hirschberg2005-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6802 a1c6a512-1295-4272-9138-f99709370657
* ifdef correctionsDaniel Stenberg2005-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6734 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Sleep timer now powers off the box even when the charger is connected.Jens Arnold2005-06-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6733 a1c6a512-1295-4272-9138-f99709370657
* Proper 'battery level dangerous' handling for Ondio. Moved this info into an ↵Jens Arnold2005-05-04
| | | | | | array, and removed unused #defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6403 a1c6a512-1295-4272-9138-f99709370657
* Bugfixes: (1) Estimated runtime was wrong for approx. 1 minute after boot or ↵Jens Arnold2005-04-10
| | | | | | battery type/ capacity change because the recalculation was (only) done in the power thread's main loop. (2) Restored Ondio NiMH discharge table. Code cleanup: (1) Moved adjustment for 8MB mod to runcurrent() where it belongs and made it more precise (only adjust the normal current). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6263 a1c6a512-1295-4272-9138-f99709370657
* First lame attempt to show correct battery level on the iRiverLinus Nielsen Feltzing2005-04-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6258 a1c6a512-1295-4272-9138-f99709370657
* Moved the car adapter mode handling to apps/, now every thread gets ↵Linus Nielsen Feltzing2005-04-06
| | | | | | SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
* More audio code restructuring, mostly renaming functions so farLinus Nielsen Feltzing2005-04-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6246 a1c6a512-1295-4272-9138-f99709370657
* sorry, the patch broke all the simsJörg Hohensohn2005-03-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6225 a1c6a512-1295-4272-9138-f99709370657
* patch # 1159539 from GvB: V1 charging cleanupJörg Hohensohn2005-03-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6224 a1c6a512-1295-4272-9138-f99709370657
* Properly shut down the UDA1380Linus Nielsen Feltzing2005-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6209 a1c6a512-1295-4272-9138-f99709370657
* removed the practically useless "trickle charge" and "deep discharge" ↵Jörg Hohensohn2005-03-03
| | | | | | options, now trickle is always on and deep always off git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6107 a1c6a512-1295-4272-9138-f99709370657
* More aggressive Recorder V1 charging (patch #1116884 from Jerry Van Baren)Jörg Hohensohn2005-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6105 a1c6a512-1295-4272-9138-f99709370657
* Turn off the RTC alarm if it's gone off. Best not to have alarm events ↵Christi Scarborough2005-02-16
| | | | | | unless the user has specifically asked for them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5973 a1c6a512-1295-4272-9138-f99709370657
* fixed signednessJean-Philippe Bernardy2005-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5840 a1c6a512-1295-4272-9138-f99709370657
* A proper alarm clock for the V2/FM (and v1 with mod)Christi Scarborough2005-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5818 a1c6a512-1295-4272-9138-f99709370657
* fix warnings / sim buildChristi Scarborough2005-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5816 a1c6a512-1295-4272-9138-f99709370657
* fix warnings / sim buildChristi Scarborough2005-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5815 a1c6a512-1295-4272-9138-f99709370657
* clean shutdown for idle timer and sleep timerChristi Scarborough2005-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5814 a1c6a512-1295-4272-9138-f99709370657
* Aligned thread stackLinus Nielsen Feltzing2005-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5803 a1c6a512-1295-4272-9138-f99709370657
* int -> longJean-Philippe Bernardy2005-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5797 a1c6a512-1295-4272-9138-f99709370657
* include fixDaniel Stenberg2005-02-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5753 a1c6a512-1295-4272-9138-f99709370657
* Only reset battery level if battery type really changed.Jens Arnold2005-02-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5734 a1c6a512-1295-4272-9138-f99709370657