DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Fix for looping low-battery popup

  1. Junior Droid
    kmagameguy's Avatar
    Member #
    205308
    Join Date
    Jun 2011
    Posts
    28
    Liked
    1 times
    Twitter
    Kmagameguy
    Phone
    Verizon LTE Galaxy Nexus
    #1

    Lightbulb Fix for looping low-battery popup

    Hey everyone,
    As I'm sure with a lot of you, one of the biggest annoyances I've had with the SS5.6 release has been the broken "low-battery" popup that just will not dismiss itself after it reaches the low battery threshold. Even keeping it as low as 5%, I found it to still be a major issue, as it essential makes the phone unusable until it's been charged. I don't know how many of you are like myself and still rocking the OG Droid as their primary phone (or even still using it at all), but I thought it'd be a good idea to kick this fix forward for anyone else that might be encountering this annoyance. For this mod, I decompiled the services.jar file found within /system/framework/ and nixed the following line of code:


    Code:
    const-string v3,"android.intent.action.BATTERY_LOW"
    
    invoke-virtual{v2, v3},Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V


    While this prevents the popup from launching at all, it will still allow the LED to blink to inform you that the battery is low. For anyone that wants to use this, here's the link to the corrected services.jar file:
    http://www.filedropper.com/batterypopupfix

    Instructions to install:
    Unzip the package (Note, this is NOT A FLASHABLE ZIP FILE)
    Move the unzipped services.jar to /system/framework/
    Overwrite the original services.jar
    Change the file permissions to 644 (rw-r--r--) (NOTE: I am not certain that this step is completely necessary, but it doesn't hurt to make sure it's set to the same permissions as the original file)
    Reboot Phone


    EDIT:
    Flashable zip file, courtesy of Teddyearp: http://ted.servepics.com/nap/droid/B...ble_update.zip

    CAVEAT 1:
    This jar file is ONLY confirmed to work on Chevy's SS5.6, it may work on a previous gingerbread build, but definitely will NOT work on a pre-gingerbread build (eg Froyo).

    CAVEAT 2:
    In the event that this breaks your phone somehow, I have uploaded a copy of Chevy's ORIGINAL, BROKEN services.jar (the one with the indefinite popups). Instructions to reinstall the original file work the same way as the modded version.
    http://www.filedropper.com/services_1

    Hopefully someone finds this useful.
    Last edited by kmagameguy; 04-17-2012 at 10:08 PM.
  2.  
     
     
     
  3. Senior Droid
    jakegsxr11's Avatar
    Member #
    72038
    Join Date
    May 2010
    Posts
    134
    Phone
    Droid Razr MAXX
    #2
    Awesome, thanks. I can't wait to try it. Hopefully in a few days....working 14 hour days for the last week has me to tired to even read the instructions right now.
  4. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    SamsungŪ SCH-I515
    #3
    Nice, I have created an update.zip file to automate the process for the masses (like there's any left on the D1) and will put it in my collection and make public after I test full functionality today.
  5. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    SamsungŪ SCH-I515
    #4
    OK, just for kicks. I did test this fix and posted my 'update.zip' style file in the bugfix thread. It does fix the 'nag'. However, it does change the reporting for my phone while I am in a '1x' area. Before, when phone switches from WiFi to 1x, it shows "1x" with the corresponding up and down arrows, but after applying this it shows "G", but then it quickly goes away, though data is still being sent and received; no up and down arrows. And I am not sure, but it seemed as though applying this file turns off mobile data in menu -> settings -> wireless & networks -> mobile networks -> data enabled unchecked. Not sure if it was this 'fix' however, just saying.
  6. Junior Droid
    kmagameguy's Avatar
    Member #
    205308
    Join Date
    Jun 2011
    Posts
    28
    Liked
    1 times
    Twitter
    Kmagameguy
    Phone
    Verizon LTE Galaxy Nexus
    #5
    Is it breaking after a manual push or through the update.zip? That sounds more like a bad/partial flash than an issue with the file itself. Couple things to try: Double check that the file on your phone has the permissions set to 644. If it's still causing issues, try reloading the original services.jar and see if that fixes the issue. If that fixes it, then I'm stumped. Like I said I've tested this on a couple of phones and can't seem to reproduce your issue. Try the manual method first as a brute force check, if it persists, try sending a logcat?

    PS:
    Is it alright if I add the link to your flashable file to the OP? It'll probably exist longer than the filedropper link, not to mention it's less of a hassle to use.
    Last edited by kmagameguy; 04-17-2012 at 05:45 AM. Reason: Trying to be helpful, not sound like a jerk!
  7. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    SamsungŪ SCH-I515
    #6
    kmagameguy, not to worry, if anyone can sound like a jerk here, I can. Sometimes I am the king of jerks here.

    I did it both through manual push (well not via adb, but using SUFBS and such) and my update.zip file, but after further review, my tiny 'bug' might have been related to applying it to the unthemed version of SS5.6 with the honeycream theme. After restoring my nandroid of the themed version of SS5.6 and applying it via the update.zip style file, all the 'data' reporting in my notification bar was normal. I didn't dig much deeper into why 'data' was turned off in menu -> settings -> wireless, etc, maybe chaulk that one up to user error.

    And of course you are more than welcome to link the file in your OP.

    Thanks!
  8. Junior Droid
    kmagameguy's Avatar
    Member #
    205308
    Join Date
    Jun 2011
    Posts
    28
    Liked
    1 times
    Twitter
    Kmagameguy
    Phone
    Verizon LTE Galaxy Nexus
    #7
    Huh, glad that's sorted for you then, strange how easily things can break. OP updated with the update.zip, really useful stuff!
  9. Droid
    omgsy's Avatar
    Member #
    116801
    Join Date
    Sep 2010
    Posts
    81
    Liked
    1 times
    Phone
    Enter Current Phone Model Here
    #8
    anyone have this link? I really need the fix for it please. I am still using DROID 1 and I went back to this ROM. Please
  10. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    SamsungŪ SCH-I515
    #9
    Quote Originally Posted by omgsy View Post
    anyone have this link? I really need the fix for it please. I am still using DROID 1 and I went back to this ROM. Please
    Yes. My server's hard drive died several months ago so it is offline for now. I have yet to find a place in the 'cloud' that will allow me to share a whole directory like I did before though.

    Anyways, here's the file:

    BatteryPopupFixFlashable_update.zip

    But as usual, always make sure to make a nandroid backup before flashing this or any other file.

    good luck
  11. Droid
    omgsy's Avatar
    Member #
    116801
    Join Date
    Sep 2010
    Posts
    81
    Liked
    1 times
    Phone
    Enter Current Phone Model Here
    #10
    Quote Originally Posted by teddyearp View Post
    Yes. My server's hard drive died several months ago so it is offline for now. I have yet to find a place in the 'cloud' that will allow me to share a whole directory like I did before though.

    Anyways, here's the file:

    BatteryPopupFixFlashable_update.zip

    But as usual, always make sure to make a nandroid backup before flashing this or any other file.

    good luck

    o my. thank you so much for replying. I thought this forum was dead for DROID 1.
    I know you are not the publisher of the ChevyNo1 but do you happen to have an updated version of SS 5.6?

    I sometimes see a battery sign on the status bar saying its 13% in the middle of the screen, and it disappears like 10 seconds later. Lol
    Also, i use a launcher pro and when I unlock my screen, the screen is sometimes black and I have to press the home button or swipe it to make the screen show.

    Just two problems that I saw
Page 1 of 2 12 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Full Battery Popup
    By Cctrk in forum Samsung Fascinate Development
    Replies: 20
    Last Post: 05-19-2011, 02:40 AM
  2. Boot Looping Help Me!
    By CC268 in forum Samsung Fascinate
    Replies: 1
    Last Post: 04-20-2011, 07:43 PM
  3. v1.3 looping animation battery weirdness
    By Daethian in forum Liquid
    Replies: 0
    Last Post: 03-01-2011, 11:25 AM
  4. [MOD] Turn off Full Battery popup/notification - EB01
    By TAPOUT27 in forum Samsung Fascinate Development
    Replies: 0
    Last Post: 02-15-2011, 12:59 PM
  5. Is there a GTalk "Popup" like SMS Popup??
    By 928Droid in forum Android General Discussions
    Replies: 3
    Last Post: 05-03-2010, 10:01 PM

Search tags for this page

android battery notification keeps popping up
,

android low battery notification

,
android phone battery warning keeps popping up
,
fix battery indicator android flashable zip
,

galaxy nexus low battery notification wont stop

,

galaxy nexus low battery warning

,
gs3 why does the battery low sign keep popping up
,
samsung galaxy nexus battery low message popping up
,

turn off low battery warning android

,
why the battery low notification keeps popping up on my gala
Click on a term to search our site for related topics.
Find us on Google+