Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#8269 - simulator: charger/charging states

Attached to Project: Rockbox
Opened by Thomas Schott (scotty) - Wednesday, 05 December 2007, 03:27 GMT+2
Task Type Patches
Category Simulator
Status Unconfirmed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

This patch adds charger status support to the UI simulator battery voltage & level cycling function (F#4886). Could be useful for wps testing (%bp/%bc tags).

Charger/charging states are set to CHARGER/CHARGING while the battery level increases. At 100% level charging state is set to TRICKLE while the charger stays "connected" for some cycles. Then the states are set to NO_CHARGER/DISCHARGING and the battery level starts decreasing.

Only simulator code is changed by this patch.
   simulator_charger-20071204.patch (3 KiB)
 rockbox-20071204.SC.work/firmware/powermgmt.c |   55 ++++++++++++++++++++------
 1 file changed, 43 insertions(+), 12 deletions(-)

This task depends upon

Comment by Thomas Schott (scotty) - Wednesday, 05 December 2007, 03:32 GMT+2
some wps lines for a quick test:

%%bp: [%bp]%?bp< connected|>
%%bc: [%bc]%?bc< charging|>
%%bl: [%bl]%%
%%bv: [%bv]V
%%bt: [%bt]

Comment by Thomas Schott (scotty) - Wednesday, 06 August 2008, 14:37 GMT+2
sync to SVN
   simulator_charger-r18199.diff (3 KiB)
 firmware/powermgmt.c |   57 +++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 44 insertions(+), 13 deletions(-)

Comment by Thomas Schott (scotty) - Sunday, 13 December 2009, 19:22 GMT+2
sync to SVN
   simulator_charger-r23973.diff (3.1 KiB)
 uisimulator/common/powermgmt-sim.c |   58 +++++++++++++++++++++++++++----------
 1 file changed, 43 insertions(+), 15 deletions(-)

Loading...