Rockbox

Tasklist

FS#8269 - simulator: charger/charging states

Attached to Project: Rockbox
Opened by Thomas Schott (scotty) - Wednesday, 05 December 2007, 02:27 GMT
Task Type Patches
Category Simulator
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 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.
This task depends upon

Comment by Thomas Schott (scotty) - Wednesday, 05 December 2007, 02:32 GMT
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, 12:37 GMT
sync to SVN
Comment by Thomas Schott (scotty) - Sunday, 13 December 2009, 18:22 GMT
sync to SVN
Comment by Thomas Schott (scotty) - Saturday, 12 October 2013, 19:25 GMT
can be closed as similar functionality has been included meanwhile.

Loading...