1

I've recently installed cm11 (plain CyanogenMod) and the battery indicator showed 1% after a full charge and would not budge. I decided, 10 minutes later, to wipe and go to another ROM, maybe try a new one. I did so, changing everything including the kernel - and the battery stays the same at 1%. The only thing I have not tried is leaving the phone to die, giving it a funeral and a tombstone and doing the "charge trick" but I've heard it's also a myth. Can somebody please help me avoid a broken phone?

And also, just in case: Phone model is ST18i Xperia Ray. Warranty voided due to rooting :(

2 Answers 2

4

I think Itzik Samara's answer is all you need. But I thought I'd add some information for people without CWM or with a version that can't delete the Battery Stats for some reason (as you had this concern initially yourself).

This can also be done less elegantly via

Firstly ensure your device is FULLY CHARGED. Do not do the below without charging fully!

  1. Reboot your phone into recovery.

  2. Mount /system and /data in the partitions menu.

  3. Open up a cmd prompt:

    adb pull /data/system/batterystats.bin batterystats.bin

    This command save the batterystats.bin in the same directory as your adb.

  4. Run:

    adb shell

  5. And finally:

rm /data/system/batterystats.bin

This removes the entire battery stats file from the device. It will be rebuilt on reboot.

5
  • Thank you. This has solved my problem with not being able to erase the Battery Stats via CWM.
    – xezno
    Commented Aug 19, 2014 at 7:59
  • @xezno glad to hear it :) Please consider an upvote if this has helped.
    – RossC
    Commented Aug 19, 2014 at 8:00
  • Lol I don't have 15 reputation, does it not count my stackexchange reputation? damn
    – xezno
    Commented Aug 19, 2014 at 8:34
  • Ah not to worry, and no you start again from scratch. If you have enough rep when you join a new exchange site you get 101 to start with as 'we trust you'. Doesn't matter anyway, glad to help anyone that it does help! :)
    – RossC
    Commented Aug 19, 2014 at 8:36
  • Ah okay, when I get 15 rep I'll upvote :)
    – xezno
    Commented Aug 19, 2014 at 8:36
2

Try Those Steps

How to wipe Battery Stats?
1. charging the battery FULLY (Since you dont know just charge it for a day and half to make sure its full)
2. boot device to CWM Recovery
3. advanced/Wipe Battery Stats
4. reboot device
5. don't charge the device until the battery still turns off your device because it empty (do not drain with heavy apps like video streaming ect.)
6. now again FULLY charge without interruption
7. Have fun ^^

Source

2
  • I'm trying this now, but I'm unsure if I have Wipe Battery Stats in my CWM Recovery. Is there a certain version I need?
    – xezno
    Commented Aug 19, 2014 at 7:43
  • +1 this is the easiest way to do this. I have posted an answer for the unlikely case that CWM doesn't do this for you, or you don't have a recovery that supports the option.
    – RossC
    Commented Aug 19, 2014 at 7:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .