Battery % in 20's

Discussion in 'ChevyNo1' started by ss13, Jun 22, 2010.

  1. ss13
    Offline

    ss13 New Member

    Joined:
    Nov 17, 2009
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    0
    Not sure if this has been posted or not, but I seem to get battery % updates in increments of 20, rather than 10, in the top bar. (100, 80, 60, 40).
  2. alm0614
    Offline

    alm0614 New Member

    Joined:
    Nov 18, 2009
    Messages:
    1,240
    Likes Received:
    5
    Trophy Points:
    0
    The droid system only updates the battery at

    100 80 60 40 20 10 0
  3. cereal killer
    Offline

    cereal killer DF Administrator Staff Member

    Joined:
    Oct 29, 2009
    Messages:
    11,046
    Likes Received:
    675
    Trophy Points:
    113
    Location:
    Austin, TX
    Dark Edge supports the 10% increments on the battery.

    Sent from my Droid
  4. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    On Froyo? Would be interested to see how that was accomplished with no source ... I had 10% in Eclair/2.1, but AFIK impossible in Froyo ...
  5. Tanknspank
    Offline

    Tanknspank Beta Team Premium Member

    Joined:
    Jan 13, 2010
    Messages:
    3,506
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    North Carolina
    No, just on 2.1 :p
  6. brad r
    Offline

    brad r New Member

    Joined:
    Jun 11, 2010
    Messages:
    171
    Likes Received:
    0
    Trophy Points:
    0
    The Battery Indicator app that I use seems to have no problem with 10% increments on Froyo. It also goes to 5% increments when under 20%.
  7. cereal killer
    Offline

    cereal killer DF Administrator Staff Member

    Joined:
    Oct 29, 2009
    Messages:
    11,046
    Likes Received:
    675
    Trophy Points:
    113
    Location:
    Austin, TX
    Dang sorry.....I didn't notice this was in your section. I was on my Droid and thought this was the general discussion area...

    Apologies
  8. medicTHREE
    Offline

    medicTHREE New Member

    Joined:
    Nov 3, 2009
    Messages:
    463
    Likes Received:
    0
    Trophy Points:
    0
    The battery guage widget updates in 10% increments running every version of froyo I've tried

    Sent from my Droid using Tapatalk
  9. Aixelsyd
    Offline

    Aixelsyd New Member

    Joined:
    Nov 27, 2009
    Messages:
    487
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Windy City
    As Chevyno1 mentioned there is no source yet for Froyo so you can not get 10% increments in the notification bar.

    As for battery apps or widget they read things differently which is why they can get the 10% increments. So until source is out I highly doubt you'll see the icon for battery use display in 10% increments.
  10. mkraffert
    Offline

    mkraffert New Member

    Joined:
    Feb 10, 2010
    Messages:
    264
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, CO
    But there are png files in framework-res.apk for 5%, 15%, 30%, 50%, 70% and 90%. The only reason I know that is I was going to change my status bar battery icon and saw them. Of course, I can't remember now, (story of my life lately), but maybe I had already applied the Blue Energy theme and they came from there.
  11. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    In the bone-stock framework I have, they are not there - keep in mind anyone can PLACE them in there - but if the code doesn't reference them, it's just wasted space.
  12. mkraffert
    Offline

    mkraffert New Member

    Joined:
    Feb 10, 2010
    Messages:
    264
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Denver, CO
    It was probably the Blue Energy theme that added them then. I know he has a version of that theme for Cyanogen and probably just left them in there for the BB version, which works well on SS 4.1.
  13. Shebang
    Offline

    Shebang New Member

    Joined:
    Apr 4, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    I believe JRummy's Kangerade V1.1 (FRF57 Base) includes this ability. Maybe you should contact him and see how he did it.
  14. mkw87
    Offline

    mkw87 New Member

    Joined:
    Apr 24, 2010
    Messages:
    146
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Virginia
    Kamgerade has 10% increments. Also, juice plotter calcs 10% on your latest Chevy, so the limitation is prob in the batt monitor widget not an os limitation.

    Sent from my Droid using Tapatalk
  15. Fault
    Offline

    Fault New Member

    Joined:
    Jun 8, 2010
    Messages:
    640
    Likes Received:
    0
    Trophy Points:
    0
    Battery Status pro can do this, anyway to build off that?
  16. ChevyNo1
    Offline

    ChevyNo1 Premium Member Premium Member Developer

    Joined:
    Dec 28, 2009
    Messages:
    5,354
    Likes Received:
    5
    Trophy Points:
    0
    Ya I know it's not an OS limitation - it's a framework limitation. The kernel can report in 10's, but the framework is only coded for looking at 10%.

    Either way - code is out now, I am working on 4.3 which will be source built and again will have 10%. Hang tight!