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 current build
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.
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]

Loading...