Support and General Use > Theming and Appearance Customization

trouble with battery meter in my wps

(1/1)

derekvan:
Hi,

I've made a quick custom wps for my gigabeat, which works great except for the battery meter.  It shows most of the time, but sometimes as the battery gets lower, the icon disappears.  From my understanding of the code, I don't think I've done anything wrong (I've mostly swiped it from other wps's), but maybe I'm missing something.  Anyone else encounter this problem?  I've attached my wps file if someone would be willing to go over it quickly.  Thanks!

[attachment deleted by admin, too old]

JustJohnny:
From: %?pv

To: %?pv

You need an initial '|' in the conditional. As your code stands now, the %xdA only shows up when the battery is in an 'unknown' state--which, according to the manual, is a vary rare occurrence  ;)

derekvan:
great, thanks!  I'll try that out.

Navigation

[0] Message Index

Go to full version