• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category User Interface → Simulator
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by scotty - 2007-12-05
Last edited by Bilgus - 2019-08-13

FS#8269 - simulator: charger/charging states

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.

Closed by  Bilgus
2019-08-13 15:04
Reason for closing:  Later
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407


some wps lines for a quick test:

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

can be closed as similar functionality has been included meanwhile.


Available keyboard shortcuts


Task Details

Task Editing