android
Prev Previous Post   Next Post Next
  #35  
Old 03-30-2013, 12:25 PM
lebellium's Avatar
lebellium lebellium is offline
Samsung Moderator
 
Join Date: Sep 2007
Location: Paris
Posts: 3,686
Default

I just updated my theme lebellium Samsung-like to v1.45 and the Accurate Battery Edition to v1.27.

The main reason is that there was a mistake in my code in all my themes since the very beginning. It concerns the battery indicator and the FM signal strength.

rEUD0yNGneUGi9n already pointed it out last year here but I don't know why, I missed that at the time...

The graphical battery and the FM signal strength indicators share a code looking like: %?tag<1|2|...|N-1|N>
I always thought the theme engine divided that into N equal parts but actually it only divides that into N-1 equal parts and N is only there for the 100% state.

Now the battery indicator is more accurate, especially for the "normal" theme version (will display 4 bars battery not only at 100% but also from around 75% to 99% vs 3 bars before) but also for the ABE.

Besides, with the previous versions you would never reach 6 bars of FM signal strength because the 6th bar would only show up when the signal strength = 100% (around 70dBu), which never happens in real life.
Now it's like that:
23-34 dBu = 3 bars
35-45 dBu = 4 bars
46-57 dBu = 5 bars
58-70 dBu = 6 bars
Here is the proof (without cheating) that 6 bars is now reachable if the signal strength is very high:

PS: I displayed dBu in the theme only for test/debug purpose, you won't see it.


Changelog normal version:
v1.45 - March, 30th 2013
- Fix battery indicator code
- FM radio: fix signal strength code
- Replace repeat and shuffle settings text by icons
- Replace white background of the signal strength icon by transparent background
- Code cleanup

You can download it in the 1st post of this thread or here: http://themes.rockbox.org/index.php?themeid=1810


Changelog ABE:
v1.27 - March, 30th 2013
- Fix battery indicator code
- FM radio: fix signal strength code
- Code cleanup

v1.25 - November, 18th 2012
- Add 12-hour clock support
- Replace repeat and shuffle settings text by icons
- Replace white background of the signal strength icon by transparent background

You can download it in attachment or here: http://themes.rockbox.org/index.php?themeid=1809
__________________
I'm French^^ *GenerationMP3 Samsung Moderator*
Reply With Quote

 

Tags
clip, lebellium samsung-like, rockbox, sansa, theme, zip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:04 PM.