• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category User Interface → Themes
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Killaruna - 2007-01-05

FS#6506 - Correct battery level display

In the current build, the highest level battery icon in the WPS is only displayed for a level of 100. This patch corrects the problem and assigns the highest level an interval as all others.

Closed by  nicolas_p
2007-04-13 15:17
Reason for closing:  Out of Date
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

The new WPS code does this.

I made an assumption that it was the designed behaviour, as with the volume enum.

It makes sense to me for maximum volume (0db) to have it’s own state, because it represents the line-level output on those targets such as the H1x0 that has a variable level output on the line-out jack.

i.e., I have my volume indicator set in my WPS as:
%?pv<mute|v.v. low|v. low|low|med|high|v. high|v.v. high|line>

For the battery, you could argue that you may want a ‘Full’ or ‘Max’ indicator for the 100% value.

Especially in the case of charging, being able to see 100% on its own is handy.

For WPSes one could readily use the same image for the top two cases so that it appears full, thus mimicing something like this behaviour without a patch, and still allowing the original behaviour in the original case.


Available keyboard shortcuts


Task Details

Task Editing