Battery Issue - Magisk

So I'm posting here because I think it may be a cause from rooting my phone as this wasn't happening before I flash 16.4 of Magisk
Before I state my problem here are a few basic info. I have a Huawei Honor 8 running EMUI 5.0.1 and it is rooted with Magisk (in beta version 16.4). When I woke up in the morning today within 10 minutes my battery drained 10% and I checked GSAM battery monitor and it says an app (or system process) by the name HwCamCfgSvr was draining 63% of the overall battery (when the second highest draining was only 8%...). Now I did some googling and I couldn't find this app/process and I also couldn't locate it in my apps. GSAM says that it's usage details has "Video On" for 9h 22m 31s so I feel like this is the main issue for the battery drain. Could someone please help me locate this or solve this problem. Pretty sure video should not be on for 9 hours. I've attached a screenshot below
https://imgur.com/ZqfRCmr

wwenjun said:
So I'm posting here because I think it may be a cause from rooting my phone as this wasn't happening before I flash 16.4 of Magisk
Before I state my problem here are a few basic info. I have a Huawei Honor 8 running EMUI 5.0.1 and it is rooted with Magisk (in beta version 16.4). When I woke up in the morning today within 10 minutes my battery drained 10% and I checked GSAM battery monitor and it says an app (or system process) by the name HwCamCfgSvr was draining 63% of the overall battery (when the second highest draining was only 8%...). Now I did some googling and I couldn't find this app/process and I also couldn't locate it in my apps. GSAM says that it's usage details has "Video On" for 9h 22m 31s so I feel like this is the main issue for the battery drain. Could someone please help me locate this or solve this problem. Pretty sure video should not be on for 9 hours. I've attached a screenshot below
https://imgur.com/ZqfRCmr
Click to expand...
Click to collapse
Do you have snapchat installed?
Sent from my SM-920T using Tapatalk

Related

Battery draining on any lollipop ROM

Hi all
Anyone got battery draining on android L roms faster than miui?
Also i test all of android L roms but all after one hours ago battery went down from 100% to 67% without using it (also when me resting and phone is locked at 22% draining to 0%)
But when i stay on miui battery still be 95% without 1% drain
I really don't like to back on miui also miui 7 have many bugs from force closed apps
Please help this
Thanks.
Reza KH said:
Hi all
Anyone got battery draining on android L roms faster than miui?
Also i test all of android L roms but all after one hours ago battery went down from 100% to 67% without using it (also when me resting and phone is locked at 22% draining to 0%)
But when i stay on miui battery still be 95% without 1% drain
I really don't like to back on miui also miui 7 have many bugs from force closed apps
Please help this
Thanks.
Click to expand...
Click to collapse
Install BetterBatteryStats from here http://forum.xda-developers.com/showthread.php?t=1179809 and you will see which wakelocks are draining your battery. If you read through that thread - or search for particular wakelocks - you will begin to understand what is causing the drain.
There is an almost infinite combination of use, ROM, phone configuration and apps installed (and occasionally malfunctioning), so it's impossible to give a useful response to your question.
That app will point you in the right direction, though. You need to install it as a system app (follow the instructions, reboot, then re-install the apk again), then leave the phone for 4-6 hours before reviewing the outputs.

Night Battery Drain

Hi everyone -
I have a stock Note 5 and all of a sudden for the last couple days I have been seeing crazy battery drain during the night. Last night I went to sleep with it at 100% and when I got up 10 hours later, it was 62%.
I have linked a screenshot of the battery usage. Can anyone help me fix this?
pasteboard.co/11f0In4yK.png
Mine isn't as bad, but it's been horrible since the last OTA update. One guy mentioned the bluetooth seems to be the culprit.
Sometimes a rogue app abuses the awake state and keeps draining battery (*cough*facebooksucks*cough*).
Check for any wakelocks or a continuously running background service or app.
This problem helped me too and i flashed stock rom 6.0.1 and then flashed root.img (root file for odin)and then corrected.
Sorry for my english.

my P9 is a battery sucker?

Guys, just asking for those already running EMUI 5 build on Huawei P9, have you guys face problem such as battery drain very fast? My P9 battery draining very fast until I have to charge OR bring my powerbank with me all the time. Is it the latest build caused the battery run fast? or there are something wrong with my phone?
Start by checking third party apps, my battery is great, it's the first phone I've had that I don't really think about charging, it gets through the day every day with heavy use.
Sent from my EVA-L09 using Tapatalk
NamelessNinja said:
Guys, just asking for those already running EMUI 5 build on Huawei P9, have you guys face problem such as battery drain very fast? My P9 battery draining very fast until I have to charge OR bring my powerbank with me all the time. Is it the latest build caused the battery run fast? or there are something wrong with my phone?
Click to expand...
Click to collapse
don't use beta build if u are not willing to receive bugs
Check the battery logs for imonitor. I had high battery usage by this process - it may be that the beta has higher analytics so that's using more battery (and therefore should be fixed for full release).
Do you have root?
If you do, install that: http://www.onexuan.com/battery/
Or, pro version (you know what to do if you have root): http://www.opgpro.com/
If you don't have a root, play a bit with: Settings\Advanced Settings\Battery Manager\Protected Apps - Put "some" or all to sleep when screen is off...
Same here... Even with power saving mode enabled
Hi had issues with the battery on mine but I think it was down to being rooted and some other software that was on it. Since flashing it back to stock the battery life is so much better. Easily gets through a day now.
Can Phone Manager be silent battery killer? It closes all apps (except protected) when you turn off screen and you have to relaunch them again. I've read in multiple sources that you shouldn't be closing manually apps because in newer Androids RAM management is great and closing/opening again apps will consume more battery that just leaving them be?
P9 battery is damaged after 6 months here. Also a small spot appeared behind the back of my screen. Send it to warranty. They said the battery bloated inside and was pushing in the screen. Replaced both battery and screen. It seems there is a huge battery problem with all p9....
I'm running EMUI 4.1.1 and the battery drain is real.
Left it at 100% charge when I went to bed yesterday and when I woke up this morning battery percentage had already decreased by 12% (88% charge left). That's insane.

Terrible battery drain cause by "video2" kernel wakelock

I'm hoping someone can assist me. I can't seem to find much information regarding the "video2" kernel wakelock.
I just charged my phone to 100% over night. I have only used it for about 19 minutes and the battery is at 75%.
I am rooted, on the latest OOS - stock; running xposed and magisk (latest versions)
I have forcedoze and leandroid running and I also use wakeblock to limit some wakelocks.
I use an app called WLD (Wakelock Detector) - to show me what wakelocks are being used and I see one in particular that is "video2". What could this be?
video2 shows 3h 28m x1244 in WLD
PowerManagerService.WakeLocks shows 6m 20s x407
All the other kernel wakelocks are under 1m
leandroid should be turning off my network settings when the screen is off, and only turning it on hourly for 60 seconds to get the occassional notifications if there are any and then turn off again.
I am normally connected to WiFi and my location services (GPS) is turned on as well, but as I mentioned, when it's not in use leandroid should be powering them off.
I'm trying to figure out what is using up over 25% of my battery only after 19 mins of use. When I go into settings to look at the battery I see the following:
Screen Usage since full charge - 19m
Android system - 4%
Phone Idle - 2%
Android OS - 2%
Cell standby - 1%
Screen 1%
Use Betterbatterystats and report back all findings from Alarms tab
Sent from my ONEPLUS A3003 using Tapatalk
RASTAVIPER said:
Use Betterbatterystats and report back all findings from Alarms tab
Sent from my ONEPLUS A3003 using Tapatalk
Click to expand...
Click to collapse
Thanks for the response, I exported all the logs from BBS. I ended up charging my phone to 100% again and then just left it doze for a bit and once again it eats through the battery idle.
I hope these logs help.
I am uploading screenshots from my phones battery and the BBS screens.
I have left my phone idle since yesterday. SOT is only 3 mins and I'm down to 61%. I would really appreciate any help I can get.
Well, I assume for those who had a look over this thread, you were as baffled by this issue as I initially was.
After a lot of trial and error, I believe I resolved my issue. To help others (in case other users run into a similar issue as I), I will write up a detailed summary of what I did to fix the issue and the apps I used. For now a quick summary.
I would like to bring up an interesting fact, and I'm not sure if my scenario is just an anomaly, but it turned out that the reason I was having this issue is because of having "doze mode" enabled in the developer menu. Apparently this setting conflicted with the battery saving apps I run such as forcedoze and leandroid.
If you use custom apps to save battery, make sure you disable force doze on your OP3T. I did a few other changes on my phone, but after disabling this option, I saw an immediate difference in my phone battery when it was idle and screen off. I only lost 1% battery in about 5 hours, whereas before it seemed less than 1 hour.

New to BBS - Trying to identify mystery battery drain on my OP3T

Hi - I have a OP3T loaded with NOS 9.0.
Most folks on NOS 9.0 have said that they are seeing great battery life (about 0.5%/hour drain when idle). I am usually seeing about 2%+/hour drain when idle, and I haven't been able to isolate the problem. The folks over at the OP3T NOS 9 thread recommended BBS and posting here.
I have BBS purchased and installed, and I have attached my dump file. There's a lot of stuff in there!
Can anyone provide tips on how to analyze the dump file to identify the mystery battery drain?
Thanks,
GJ?
Adding a second BBS log file for approx. 8 hours of overnight idle time. I was losing 2..3% / hour over that time.
BBS says that my phone was in Deep Sleep 84.7%. I've seen 5%-10% better on Nougat, but this doesn't seem too bad. I don't think that's enough to be losing 4x as much battery life as I saw just a few weeks ago.
Could my problem just be that my OP3T battery suddenly went bad?

Categories

Resources