Battery usage unavailable - Galaxy S II Q&A, Help & Troubleshooting

Hi folks,
Since I upgraded (after a full wipe) I am unable to see my battery usage stats. The option is greyed out with unavailable written under it.
Can anyone please help.
Thanks

You didn't say what you upgraded to/from, but I'll assume you went *to* an ICS variant.
Same thing to try regardless, try flashing again over the top without a wipe. If that fails or causes FCs (possible), try a completely new flash from scratch with a wipe, etc. That means no restoring apps, particularly not system apps (never restore those). Do a clean install of everything. Backup your contacts/calendar to Google & restore from there when you've finished the clean install. So far as SMS/MMS/call logs go, there are apps on Play you can use to restore those from a Nandroid backup or similar, but do not restore the apks of these or you'll get FCs. Just the SMS/MMS/logs themselves.

Hey
Thanks for the reply. I went from check rom to the plain ics that was released earlier in the week to the new litening rom yesterday. I did a full wipe between every rom change and I only restored apps and not system data.
I have also fixed permissions too but nothing seems to resolve this issue.
Does anyone know where battery stats are kept? Which file?
Thanks

Actually, have you tried charging to 100%, wiping battery stats in CWRecovery (assuming you have it ?), pulling the battery for a minute then putting it back in & rebooting ?

That's not a bad idea! I will give that a go.
Thanks

And for fun try charge battery to 100%

Related

[Q] Maximum speed out of my device? worth it?

Hey XDA!
I tried looking up a little bit in regards needing to do a factory wipe/clearing my cache for maximum speed/newness. I flashed my first roms for the first time on sunday and I went back to 4.0.4 but then suddenly the official version of 4.1 came out and I updated to it without having to factory clear and wiping my cache it just worked perfectly. All my contacts/messages and apps were there.
Now, I'm a person who tries to juice out every bit of power I got and I'm wondering if I really need to clear cache/factory wipe to get the most speed out of my new 4.1, keep in mind I just factory cleared it less than 24 hours ago and just added 16 of my usual apps.
any responses would be appreciated!
(I also have titanium backup pro to restore all this stuff on a new ROM but I don't think it'll work without having an SD card cause it'll just wipe off my internal storage after I factory wipe, and uploading to dropbox takes forever with my down/up)
Thanks so much!
MattHamed1 said:
Hey XDA!
I tried looking up a little bit in regards needing to do a factory wipe/clearing my cache for maximum speed/newness. I flashed my first roms for the first time on sunday and I went back to 4.0.4 but then suddenly the official version of 4.1 came out and I updated to it without having to factory clear and wiping my cache it just worked perfectly. All my contacts/messages and apps were there.
Now, I'm a person who tries to juice out every bit of power I got and I'm wondering if I really need to clear cache/factory wipe to get the most speed out of my new 4.1, keep in mind I just factory cleared it less than 24 hours ago and just added 16 of my usual apps.
any responses would be appreciated!
(I also have titanium backup pro to restore all this stuff on a new ROM but I don't think it'll work without having an SD card cause it'll just wipe off my internal storage after I factory wipe, and uploading to dropbox takes forever with my down/up)
Thanks so much!
Click to expand...
Click to collapse
yes you really need to wipe cache /dalvik and data(factory) when coming from a totally different version of android , a format of the system would be a good choice to, even if an update from a rom for eg checkrom v4 ics to v5 ics when no wipe needed its always better to full wipe and restore etc it really takes no time .. and as you have come from ics to jb then get wiping after you backed up and start from scratch

twrp + tibu = lifesaver

One day for no apparent reason, boot-loop.
TWRP 2.2.2 installed and that still works.
Wipe cache & dalvik. No help.
Dirty re-flash exact same rom. No help. (Didn't expect that one to help of course but it's about the only thing left to try that doesn't lose data, and it's free and at least harmless.)
Nothing left to try that preserves data.
No recent backup. Oh crap. Months of txt's will be lost.
Make a nandroid backup with TWRP "just because". No idea what I might be able to do with it since the rom boot-loops. Do it anyway. The data I want to save is "in there somewhere some how".
Factory reset in TWRP. (IE: wipe data)
Boots fine. Empty new phone. Internal and external SD cards preserved, so pics/books/music all ok, contacts re-syncing from gmail. txts gone of course as I knew they would be.
Titanium Backup Pro > Menu > Extract from nandroid" > Dialer Storage
HOLY CRAP RESTORED!!!!!
Thank you TWRP!
Thank you TiBU!
Saved and restored my data AFTER rom was already in unusable boot-loop.
That is all.
nice info
so whatever happen just do Nanddroid backup
KEYofR said:
One day for no apparent reason, boot-loop.
TWRP 2.2.2 installed and that still works.
Wipe cache & dalvik. No help.
Dirty re-flash exact same rom. No help. (Didn't expect that one to help of course but it's about the only thing left to try that doesn't lose data, and it's free and at least harmless.)
Nothing left to try that preserves data.
No recent backup. Oh crap. Months of txt's will be lost.
Click to expand...
Click to collapse
Mine did the same thing while I was travelling - was very annoying. Thankfully I had a very recent backup to work from, as well as a ROM in memory to be able to re-flash. Was weird and out of the blue.
dimqs153 said:
nice info
so whatever happen just do Nanddroid backup
Click to expand...
Click to collapse
Nandroid backups require a reboot, which is annoying
Thankfully, when my phone started boot looping yesterday, I thought to make a backup before restoring a (month and a half!) old nandroid image. Had to get it working again, obiously, but so much happens in a month and a half. I was hoping to hack the backup to turn off Wifi, which I assumed was the problem because the last thing I did before the boot loop was enable it*, but fortunately I happened upon this thread. All I had to do is restore my new data+apps from the nandroid image over my old, working backup and I'm set. Fixed forever (hah!).
Let this be a lesson, kids: root your phone (even if you use a stock ROM like me!) and use the amazing community-created backup tools. They'll save your life wallet and data
*Possibly related: http://forums.androidcentral.com/htc-evo-4g-lte/212245-boot-loop-noooo.html - lot of people there basially saying they enabled Wifi just before things hit the fan.
I had the "just enabled wifi" boot loop once too some months ago. That time I had a clue because the home screen would almost come all the way up before the reboot and I could see the wifi icon on the notifications, and of course I had just been trying to connect to an access point when it started.
That time I managed to get in and disable wifi just before it caused a reboot. Took about 3 tries, trying to get into settings as soon as possible during boot up. But it worked and I didn't need a backup that day. I think that was still on the original shipped stock rom.
Sent from my EVO using xda premium

[Q] Constant battery drains - How do I get my CM9.1 work again

Hey guys,
I have been fiddling around with my phone the last two weeks and it is annoying me now.
I have had CM9.1 on my phone for months and it was fine. ONly recently started to drain battery.
Did a factory reset and flashed it again. no change. Made the move to CM10.1, but that was even worse. Loads of wakelocks that kept draining my phone.
Ended up doing a full wipe including my internal SD Card (and even the external SD as media scanner acted up). complete formating. Reinstalled CM9.1 now as that had worked for me fine in the beginning (and also on my girlfriends phone with 1.5 days battery life...).
But even though I did a complete clean of the phone I still have battery drains.
I want to do a wipe AGAIN just to make sure I did everything ok.
Just want to make sure I am doing everything right:
Format /emmc
Wipe system, data and cache
install CM9.1 from external
flash gapps (the latest one for ICS from April 2012)
fix permissions
start phone, set up google account
restore only a few apps I need for the beginning (SMS Backup+ etc) (don't use titanium back up)
Wipe cache again, fix permissions
reboot phone
Please could somebody confirm this for me?
Thanks
Seems like a normal full wipe. Can't you install BetterBatteryStats to see what's causing the wakelocks? Wipe everything this often to get normal battery life shouldn't be necessary.
Sent from the Matrix
yes. been using betterybatterystats over the last few days and tried figuring out the issues. everytime I fix one thing another thing pops up. Media scanner, then wlan_rx.., then RILJ etc.
And the phone worked fine for months. Not sure where I am going wrong. Nothing has changed concerning my Wifi connection or phone provider.
So I will try a full wipe again today and then start slowly with apps.
Thanks for confirming the process. Will report back
Maybe have a look in this thread:
http://forum.xda-developers.com/showthread.php?t=1909996
I know you run CM (I assume stock kernel), so the steps for Siyah kernel could be ignored, but the other advices are very usefull and absolutely great for battery life (I use them myself).
Sent from the Matrix
Hey!
Thanks for that thread. Very helpful.
Just wiped phone again and installed cm9.1 and gapps. No apps apart from BBStats.
So wakelock #1 I have at the moment is the wlan_rx_awake. This can be tracked back to the WiFi here in my university. Some guys got rid of the wakelock by using "leankernel" for their GNexus. Unfortunately that is not available for SGSII as far as I know.
Is it wise to try a Siyah or Dorimanx kernel as an alternative?
Questions about specific wakelocks can be asked here: http://forum.xda-developers.com/showthread.php?t=1179809.
These guys can help you better than I can Good luck.
Sent from the Matrix

[Q] Every ROM I flash Is Slow And Buggy, Why!

Recently I flashed my phone with Cookiesandcream-quincyatt-1012 rom and my phone went all laggy and slow.
restored back to my CM10quincyatt that i had prior to cookiesandcream, and now that was acting all laggy.
I have tried several different roms(slim bean, liquid jb, cm9, cm10, and jelly beer, which seems to be working the best at least) and all of them seem to have the same issue, they act slow as soon as I use the volume rocker, and then my volume delays 10 seconds or so before it actually changes, and there not even sound coming from my phone. and is just laggy and has delays when i touch apps/settings etc.
aswell as soon as i boot up the phone after a flash, i get the gapps welcome setup screen(wifi setup, google account stuff, etc.)
i click "OK" and the button turns blue and will stay blue for 10 seconds before it actually does anything.
I have done factory reset, cache, dalvik cache, internal storage wipe.
Nothing seems to work.
It worked a tiny better after internal storage wipe, but i just need my phone in a useable state right now.
can anyone help? :s
Beelee29 said:
Recently I flashed my phone with Cookiesandcream-quincyatt-1012 rom and my phone went all laggy and slow.
restored back to my CM10quincyatt that i had prior to cookiesandcream, and now that was acting all laggy.
I have tried several different roms(slim bean, liquid jb, cm9, cm10, and jelly beer, which seems to be working the best at least) and all of them seem to have the same issue, they act slow as soon as I use the volume rocker, and then my volume delays 10 seconds or so before it actually changes, and there not even sound coming from my phone. and is just laggy and has delays when i touch apps/settings etc.
aswell as soon as i boot up the phone after a flash, i get the gapps welcome setup screen(wifi setup, google account stuff, etc.)
i click "OK" and the button turns blue and will stay blue for 10 seconds before it actually does anything.
I have done factory reset, cache, dalvik cache, internal storage wipe.
Nothing seems to work.
It worked a tiny better after internal storage wipe, but i just need my phone in a useable state right now.
can anyone help? :s
Click to expand...
Click to collapse
Data.......you likely have either old data that is intended for a different architecture...
, or you are restoring data into the builds by using a restore app like titanium backup.
Several of the roms you mention are very fast and smooth when set up properly, but it is very important to clean the device before a flash, and keep it clean by installing applications from market..
Many users do restore apps via titanium backup and other applications designed to do so, but you must never restore the data associated with the apps from a previous build, unless it is the same build.
Wipe cache
Dalvik cache
data
and system...prior to any new build, and again, do not restore apps that contain data.....g
gregsarg said:
Data.......you likely have either old data that is intended for a different architecture...
, or you are restoring data into the builds by using a restore app like titanium backup.
Several of the roms you mention are very fast and smooth when set up properly, but it is very important to clean the device before a flash, and keep it clean by installing applications from market..
Many users do restore apps via titanium backup and other applications designed to do so, but you must never restore the data associated with the apps from a previous build, unless it is the same build.
Wipe cache
Dalvik cache
data
and system...prior to any new build, and again, do not restore apps that contain data.....g
Click to expand...
Click to collapse
I have done all of the above many times, and installed new roms, the roms always end up laggy, the improve over time,
but once the phone restarts, it becomes laggy again.
also i have no sound coming from my phone at all.
music wont even play. I press play and it immidiatly pauses. even if i try to press play again.
and i have never used titanium backup, the only time i restore, is using the restore function in TWRP using a backup of a previous rom i had. I never ported any data from any apps using programs like that.
by the way, when i look through my mounts and storage(using CWM), it shows that all my things say "mount /efs" or "mount /data" and so on.
are all of these supposed to say unmount?
EDIT: Solved problem, Unrooted the phone using odin3 v3.04 and stock I717RUXLF4_I717RRWCLF4_I717RUXLF4_HOME.tar.md5 and re-rotting solved the problem.
Data corruption .....
I'm glad you found the cause .....g
than go flash black star, no chance of that problem

A few problems after installing Cyanogenmod 11

Hello.
Today I decided that I should upgrade my phone and move to Cyanogenmod 11.
So I downloaded everything, followed every step, made a backup with Titanium Backup, and upgraded.
With (almost) no problems, my phone booted with Cyanogenmod.
At first, everything went smooth, I put all my stuff back in the memory while I sit back and enjoy the speed.
But then everything went bad. I found out all my contacts are gone, all my photos are gone, all of my songs are gone, the home button doesn't work, I opened Nova Launcher and suddenly the lockscreen has been disabled.
I can't close apps because the home button doesn't work. The button on the upper left on the notification center doesn't work (although it worked at first), I don't even get notifications.
There is no physical problem with the home button. When the phone is locked, I press the home button and it wakes it up, but it does nothing besides that.
I also can't access my Contacts app, I need to open the Phone app and access them through there.
Also– I can't receive any calls. It seems the phone knows a call has been made, but it sends the caller straight to voice mail and I need to check the missing calls to see if anybody called.
If it helps, whenever I boot the phone there's a tiny exclamation mark on the top left.
Please help.
Well don't know what the problem is but seems like you are running out of RAM... I personally didn't had any problem with any aosp ROM be it cm11 or omni...
Try flashing it again and flash it clean that is do a factory reset then wipe system,preload, cache, dalvik cache..and then install it...
Also avoid using art as your runtime as it may be the culprit...
Sent from my GT-I9300
kunal1540 said:
Well don't know what the problem is but seems like you are running out of RAM... I personally didn't had any problem with any aosp ROM be it cm11 or omni...
Try flashing it again and flash it clean that is do a factory reset then wipe system,preload, cache, dalvik cache..and then install it...
Also avoid using art as your runtime as it may be the culprit...
Sent from my GT-I9300
Click to expand...
Click to collapse
I doubt it's about the RAM, I never had any problems with it, and I clean it regularly.
I will try to flash it again, but I try to back my things up, and instead of backing up only the user apps (107) Titanium Backup backs up about 321 files, which I think means it backs up also the System stuff.
What do you mean by "avoid using art as your runtime"?
EDIT: I flashed the ROM again, and everything works fine. But before I bring all of my stuff back through Titanium Backup, I need to be sure: What does grey apps with cross line on them means? Because I don't want to screw up my phone again...
FlyingPotato said:
I doubt it's about the RAM, I never had any problems with it, and I clean it regularly.
I will try to flash it again, but I try to back my things up, and instead of backing up only the user apps (107) Titanium Backup backs up about 321 files, which I think means it backs up also the System stuff.
What do you mean by "avoid using art as your runtime"?
EDIT: I flashed the ROM again, and everything works fine. But before I bring all of my stuff back through Titanium Backup, I need to be sure: What does grey apps with cross line on them means? Because I don't want to screw up my phone again...
Click to expand...
Click to collapse
The apps which are crossed are not installed in your device...avoid the ones which are colored as these are the apps from your previous system which must have been backed up by titanium backup...dont restore them..just go in the tab which says restore missing apps with data..the first one in the restore section..it contains all your user apps with their data backed up..
although cm thread says that they dont support the use of titanium or restoring your data...
so i also restore those apps for which data is always necessary like games...it us a little cumbersome but ya thats the way to go for better experience...
kunal1540 said:
The apps which are crossed are not installed in your device...avoid the ones which are colored as these are the apps from your previous system which must have been backed up by titanium backup...dont restore them..just go in the tab which says restore missing apps with data..the first one in the restore section..it contains all your user apps with their data backed up..
although cm thread says that they dont support the use of titanium or restoring your data...
so i also restore those apps for which data is always necessary like games...it us a little cumbersome but ya thats the way to go for better experience...
Click to expand...
Click to collapse
Okay so I restored all of my apps, some info is missing but that's fine. Just a small problem– Slow charging. The battery take AGES to charge and the percents goes down if I use the phone while charging.
Suggestions?
FlyingPotato said:
Okay so I restored all of my apps, some info is missing but that's fine. Just a small problem– Slow charging. The battery take AGES to charge and the percents goes down if I use the phone while charging.
Suggestions?
Click to expand...
Click to collapse
try changing usb cable most of the times that is defective...happened with me twice but fortunately was still in warranty..so got a new one both times and since then no problems..
was it charging better with the stock one??
kunal1540 said:
try changing usb cable most of the times that is defective...happened with me twice but fortunately was still in warranty..so got a new one both times and since then no problems..
was it charging better with the stock one??
Click to expand...
Click to collapse
Yes it was. The charging time changed only after flashing to CM.
The usb cable is not the problem, I tried 2 USB and one charger, the charging remains the same.

Categories

Resources