[Completed] Cyanogenmod 10 - battery drain - XDA Assist

Hello, I have problem with my battery. I have phone Lenovo A880 and only roms available for my phone are MIUI (ported) and Cyanogenmod 10 based on iOcean X7 ROM. I have problem with my battery. After 2-3 hours of using music player and mobile data I have 50% out. I blocked Google Play Services wakelock and now can phone go to deep sleep but my drainer is mediaserver, AudioOut_2 and surfaceflinger (more on screenshots). I repaired mediaserver wakelock by removing corrupted files but it still keeps drain battery while screen is on. Can you help me anything to try? Thanks
Screenshots are on imgur: imgur(dot)com/a/X513v#0

Hi,
Here is a list of helpful tips
http://forum.xda-developers.com/showthread.php?t=2601318
Best of luck!

Thanks, I tried increase SD Card read-ahead value and I will see.
But nothing's explaining my problem with music player, AudioOut_2 and surfaceflinger.

If you post in that someone is sure to help, otherwise for logcat help see here
http://forum.xda-developers.com/showthread.php?t=2274119
Best of luck

Related

[Completed] Why is my battery life draining so fast? (gpio_kp wakelock)

Greetings,
since couple of weeks ago my battery life has been exhausted, with minimal usage on my ZTE Blade G i dont get more than approx 16 hours of battery life. I studied what could possibly be the case, so i started with programs like GSAM battery, betterbatterystats and such, and there I learned a lot about wakelocks. Since the beginning of my quest to determine and fix this problem there was a certain wakelock called "gpio_kp". This wakelock uses my CPU approx 95% of the time, and make my device 100% awake, all time, which destroys my battery life. I tried everything from tweeking certain apps, settings, removing and reinstaling applications, I even installed another stock ROM, wakelock detector, even app called "Unbounce" that requires xposed but there i couldnt find "gpio_kp" wakelock. So i unbounced a lot of wakelocks but still "gpio_kp" remained.
Atm as i write this to you, completely helpless, craving for salvation my Betterbatterystats shows this on Kernel wakelocks:
"gpio_kp" 2h 46m 31 s Cnt: (c/wc/ec)0/0/0 98.5%
"powermanagerservice" 1m 24s Cnt: (c/wc/ec)494/0/0 0.8%
as u can see gpio_kp uses almost 100% time of the cpu... while second on the list is only 0.8%.. Looking forward to some answers and solution, i googled a lot about this, and didnt find any solutions, maybe this could be ground braking android wise.
kaLuta said:
Greetings,
since couple of weeks ago my battery life has been exhausted, with minimal usage on my ZTE Blade G i dont get more than approx 16 hours of battery life. I studied what could possibly be the case, so i started with programs like GSAM battery, betterbatterystats and such, and there I learned a lot about wakelocks. Since the beginning of my quest to determine and fix this problem there was a certain wakelock called "gpio_kp". This wakelock uses my CPU approx 95% of the time, and make my device 100% awake, all time, which destroys my battery life. I tried everything from tweeking certain apps, settings, removing and reinstaling applications, I even installed another stock ROM, wakelock detector, even app called "Unbounce" that requires xposed but there i couldnt find "gpio_kp" wakelock. So i unbounced a lot of wakelocks but still "gpio_kp" remained.
Atm as i write this to you, completely helpless, craving for salvation my Betterbatterystats shows this on Kernel wakelocks:
"gpio_kp" 2h 46m 31 s Cnt: (c/wc/ec)0/0/0 98.5%
"powermanagerservice" 1m 24s Cnt: (c/wc/ec)494/0/0 0.8%
as u can see gpio_kp uses almost 100% time of the cpu... while second on the list is only 0.8%.. Looking forward to some answers and solution, i googled a lot about this, and didnt find any solutions, maybe this could be ground braking android wise.
Click to expand...
Click to collapse
You can try Android Development and Hacking > Android Apps and Games > [APP][2.2+] [v.1.5+] Wakelock Detector- What keeps your phone awake when it sleeps? to get more information about this wakelock.
Has something to do with device IO = Input/Output ... I found one reference of gpio_kp in a thread about USB host drivers.
So it could be related to USB connection. Check the USB port of your device. Maybe it has to be cleaned again.
And if you had a USB cable connected, reboot your device before recording a new BBS dumpfile, as sometimes a kind of USB connection wakelock is still active even after disconnecting the USB cable.
For more help about battery life and its optimization, please post in the Android Development and Hacking > Android Apps and Games > [APP][2.1+][05 Jul. - V1.16] BetterBatteryStats thread.
It_ler said:
You can try Android Development and Hacking > Android Apps and Games > [APP][2.2+] [v.1.5+] Wakelock Detector- What keeps your phone awake when it sleeps? to get more information about this wakelock.
Has something to do with device IO = Input/Output ... I found one reference of gpio_kp in a thread about USB host drivers.
So it could be related to USB connection. Check the USB port of your device. Maybe it has to be cleaned again.
And if you had a USB cable connected, reboot your device before recording a new BBS dumpfile, as sometimes a kind of USB connection wakelock is still active even after disconnecting the USB cable.
For more help about battery life and its optimization, please post in the Android Development and Hacking > Android Apps and Games > [APP][2.1+][05 Jul. - V1.16] BetterBatteryStats thread.
Click to expand...
Click to collapse
I already tried wakelock detector before, and it only showed me that system was using it, it didnt give me too much information so I deleted it, now I installed it again but there is no information that i need.
I cleaned USB port, reinstaled usb drivers, rebooted, and now since restart BBS shows this in kernel wakelock:
gpio_kp 20m 13s 63.7%
power manager 1m 1s 3.2%
wakelock detector says out of 33 m since restart:
total wake time 33 m 39s
screen on time 13 m 16 s
awake 20 m 23 s
which is somewhat confusing.
gpio_kp percentage will go up, as the time flies, it looks as it needs some time before it gets active after restart.
kaLuta said:
I already tried wakelock detector before, and it only showed me that system was using it, it didnt give me too much information so I deleted it, now I installed it again but there is no information that i need.
I cleaned USB port, reinstaled usb drivers, rebooted, and now since restart BBS shows this in kernel wakelock:
gpio_kp 20m 13s 63.7%
power manager 1m 1s 3.2%
wakelock detector says out of 33 m since restart:
total wake time 33 m 39s
screen on time 13 m 16 s
awake 20 m 23 s
which is somewhat confusing.
gpio_kp percentage will go up, as the time flies, it looks as it needs some time before it gets active after restart.
Click to expand...
Click to collapse
Please post an idle dump in bbs thread I have already linked.
There you will hopefully get a better advice.
Thanks for your understanding.
My tapatalk signature:
Device: SGS5 (SM-G900F)
ROM: AllianceROM v5.3
Kernel: Stock G900FXXU1ANG7
Recovery: PhilZ-touch CWM
Modem: G900FXU1ANG7
If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.
... for the SGS5, just ask in the Noob friendly S5 All in one support thread
If you need general help/assistence, please go to XDA-Assist.

[Q] Battery drain issue on Cyanogenmod 11

Hello guys
I recently installed Cyanogenmod 11 on my Xperia L and I noticed that the battery drains very fast compared to stock. I searched this problem and it appears to be a deep sleep issue, but i don't really found out how to solve it. My battery stats show a great consumption on Google Play services and Display, so I guess it fits the deep sleep problem. I tried disabling some services, but i don't really know which one since i am kinda noob at this.
If anybody could provide a clear and detailed solution, that would be great. Thank you.
axross said:
Hello guys
I recently installed Cyanogenmod 11 on my Xperia L and I noticed that the battery drains very fast compared to stock. I searched this problem and it appears to be a deep sleep issue, but i don't really found out how to solve it. My battery stats show a great consumption on Google Play services and Display, so I guess it fits the deep sleep problem. I tried disabling some services, but i don't really know which one since i am kinda noob at this.
If anybody could provide a clear and detailed solution, that would be great. Thank you.
Click to expand...
Click to collapse
Use the greenify app from playstore
I don't think that would solve much. I installed better battery stats and these are the ones causing battery drain:
Awake
Wifi On
Wifi Running
No Data Connection
No or unknown signal
All these have 100% at battery consumption. Greenify only allows me to put to hibernation apps like Facebook, Messenger or so.
So... any other ideas?
axross said:
I don't think that would solve much. I installed better battery stats and these are the ones causing battery drain:
Awake
Wifi On
Wifi Running
No Data Connection
No or unknown signal
All these have 100% at battery consumption. Greenify only allows me to put to hibernation apps like Facebook, Messenger or so.
So... any other ideas?
Click to expand...
Click to collapse
Come on cm12 the battery's much better over here!

Help with constant "system_server" high cpu usage

I am running 5.1.1 on my Nexus 5, and have recently noticed reduced battery life. When running Quick System Info PRO, I notice that "system_server - BluetoothPhoneService" is constantly consuming anywhere from 15-60% cpu, usually 20-30%. I have tried everything INCLUDING restoring all the original factory ROM's, starting with 5.0 (LRX21O) up to 5.1.1 (LMY48I), yet the issue persists. Toggling Bluetooth doesn't help any. Bluetooth functions normally when needed, but is usually kept off.
Has anybody else encountered this issue?
Any advice would be most appreciated.
Thanks,
Mike.
same problem
Hi, I've the same problem since the last Android update! Quick system info shows that system_server (BluetoothPhoneServer) uses ~24% CPU and >82MB memory. The device gets warm and batterie is empty after 3-4 hours.
Hello,
I'm having the same issue but with another phone (I'm off-forum but not of topic).
I recently made a factory reset to try to solve a problem and now the battery drains quicker than before.
According to Quick System Info Pro, the process system_server BluetoothPhoneService regularly takes at least 15% CPU.
I'm running Lollipop v5.1 stock room on a Wiko Highway Star
If somebody had an idea...
Thanks

[Completed] 100% Awake, Galaxy S5. Better Battery Stats Kernel Wakelocks "File could not be read"

100% Awake, Galaxy S5. Better Battery Stats Kernel Wakelocks "File could not be read"
I've had my Samsung Galaxy S5 for over a year. A while back I updated the OS a couple of times, and now it's on Lollipop (5.1.1). Lately the battery life is very low, although I don't think this started at the same time as the upgrades.
I've tried to use Better Battery Stats to figure out why. It concurs with the Battery control panel that my phone is staying Awake all of the time, never in sleep mode. Most of the time is at the 300MHz cpu speed. Unfortunately when I try to view the Kernel Wakelocks section of BBS, it just says "File could not be read" and presents me no statistics. I was using an old version of BBS, and have just updated to the newest version and this behavior persists.
According to the Battery control panel my top consumers of battery life are Android OS (10-20%), Android System, Bluetooth, Screen, Google Play Services, Cell standby (2-5%), and then a bunch of apps at <5% each..
Hello,
Welcome to XDA.
If your device is rooted you can try the Wakelock Detector from playstore to check your wakelocks. There are also apps to control your wakelocks and you can also use the Kernel Auditor app to further manage your device's behavior.
I didn't see a question in your post but you can try posting your issue in the forum linked below.
http://forum.xda-developers.com/galaxy-s5/help
The experts there may be able to help, good luck.
Thanks, I'll try the s5 help forum

Kernel wakelocks draining battery, anybody else? Help needed

Hello all,
My phab 2 Pro is draining its battery too fast with the screen off. Using Battery Historian I've been able to pinpoint it down to something keeping the phone awake when it should be sleeping. The problem is it happens randomly and I haven't been able to "connect" it to a specific app or setting.
The "kernel wakeup reason" that Battery Historian shows as the (I think so anyway) culprit is "Abort:Wakeup IRQ -1169425744 (null) pending". The number after "IRQ -" changes from log to log.
Something else that keeps popping up on the "Userspace wakelock" line with short bursts is "RILJ". This is precisely during the period that the phone is "awake" but the screen is off. So maybe the RILJ and the IRQ thing have something to do with each other?
Steps I took:
Full factory reset
Uninstalled ALL apps that can be uninstalled.
Disabled ALL apps that can be disabled, apart from things that have to stay like keyboard.
Switched of any Location setting that can be switched off
Switched of all syncing that can be switched off
Enabled developer options (to be able to pull the bugreport.txt off the device using adb)
Engaged airplane mode
But even with all of these steps, which leaves the phone totally unusable (but I have another daily driver) this weird kernel wakelock still happens frequently, draining the battery very fast. Going from 38% down to 9% in just 6 hours, with the screen off(!) is plainly unacceptable.
Are there other users out there experiencing the same? I know of one guy who posted lasted year, but maybe there are more out there?
Can anybody help with this? I have no idea what to do now I more or less now where the problem lies. I'm no coder and don't know anybody at Lenovo...
Regards,
Sander
Is not normal what happens to you, but as a remote solution ... try to get into the applications that are working, and look at google services, there is one that spends a bestiality, it is called fileakintentoperation $ external that application next to the others Spend a lot of ram, I ended up blocking the services of google play and play store, and I assure you that the battery lasts for more than two days
rogerbcn said:
Is not normal what happens to you, but as a remote solution ... try to get into the applications that are working, and look at google services, there is one that spends a bestiality, it is called fileakintentoperation $ external that application next to the others Spend a lot of ram, I ended up blocking the services of google play and play store, and I assure you that the battery lasts for more than two days
Click to expand...
Click to collapse
Hi Rogerbcn,
thanks for replying.
Could you type the name of the app/service again? Google doesn't return anything on "fileakintentoperation" .
I already have the Google play and Play Store apps disabled, unfortunately, that didn't help.
Regards,
Sander
Is just below, where are the services of google play, and is also a service, but after reading that you have disconnected and you also have disconnected play store, gives me your battery or is badly calibrated or is to change, Take it to the sat of lenovo and assert your guarantee that for that we have spent 500 dollars / euros,regards
[rogerbcn] is probably correct and that you may have a defective battery. I use greenify and it seems to extend battery life about 23% for app hibernation.
https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en
I resolved with task killer (kil 1 sec. After lockscreen)
edit: not resolved... anyone has other experience?
Seems to be resolved.
I used greenify, with doze go (adb solution)

Categories

Resources