[FIX] Battery Drain [Android 10] - Lenovo P2 ROMs, Kernels, Recoveries, & Other Devel

Here is the fix for battery drain in Android 10
Work on any Android 10 rom
Well tested in Lineage OS 17.1
Here are the tricks
1. Disable CAF Boosted Framework -
{It will fix the major battery drain and heating problem}
Boot into twrp.
Mount vendor partition.
Go to Advanced/File Manager.
Delete the following folder -
vendor/etc/perf
Reboot the device.
2. Disable log (Optional) -
Delete the following files from system/etc/init/
logd.rc
logcatd.rc
3. Lower Screen Resolution -
{Lowering screen resolution little will save battery as gpu work less. It fixes the screen app glitching also}
open terminal and run the following cmd-
Code:
su
wm size 900x1600
**Will Post the screenshots soon**
Screenshots added- from 97% to 57% in 9hrs and SOT 5hrs+
//Boost Framework is a vendor library provided by Qualcomm for phones using their chips. It allows system components to temporarily boost the CPU frequency for increased processing power. Deleting CAF library save lots of power.//
Created - 07 Sep 2020
Last Updated - 12 Sep 2020

That's really cool if it works

Sutcliffe9 said:
That's really cool if it works
Click to expand...
Click to collapse
I will post screenshots, waiting to drain full battery.

how about on mokee 10.0??

mahmutpekkara said:
how about on mokee 10.0??
Click to expand...
Click to collapse
You can try. It will work.

Havoc 3.7, there is no effect.

Done, will post here if I see any changes
Update :
I'm with Lineage 17.1 and unfortunately I did not have any change during the night, still a noticeable battery drain. :crying:

I will sleep peacefully the day I get a flat battery graph like this in idle drain. This is from pie though and it has vendor/etc/perf intact.
I saved <=1% battery by deleting it on MSM v12.5. Still, keep looking for more battery saving tricks. :good:
Keep this thread alive.

I've noticed slight improvement in battery behaviour. I am on Q Mokke. I dont know if its battery degradation or Android 10 itself, but I manage around 30 hr of usage with 5hr 30 min of sot. Sometimes its 6 hr. But its 80%on 4g.
Wysłane z mojego Lenovo P2a42 przy użyciu Tapatalka

New tricks added.

take a look on the files that you propose to DELETE! There are tons of the processor parameters listed in them. Are you shure that 1% of the battery life better than stable processor work?

zeman124 said:
Havoc 3.7, there is no effect.
Click to expand...
Click to collapse
When I was with HavocOS, my phone got very hot and the battery dropped quickly.

Related

[Guide] Battery Tweaking – When squeezing battery is not enough!! - Tips

Hello, taken that I came from a mammoth battery of 6000 mA of the Ulefone Power, the 3000 mA of the ZTE Axon 7 just fails short to lasting me a day.
I felt in love with the screen of the Axon 7, just to find is the highest ranking sucker for battery, which makes me have to set it black and white and dim it…. This really sucks. ;-(
I have excellent sleeping battery savings 0 to 1% using the wakelock software, but is just when I turn on -> the screen starts draining the battery quick!.
I have installed 341 user apps and 163 system apps (I debloated heavily the phone, stock launcher, gmail, photo)…. Please notice that I have paid for the PRO versions off all the software shown here. Please respect the developers and show support by buying software that help us improve our day by day usage of the Phone.
By the way I have a A2017G with a ZTE A2017GV1.0.0B03 with rooted phone + locked boot loader
I atached a file to be opened with “My App List” which is a free Google Play app so you can download all the files I mention in the thread that belong to Google Play. The apps missing are Xposed files and you have to find them in the repository - > Xposed modules will be identified with (X). Some of the titles are in Spanish (I am a Spaniard) so I have provided a screen capture so you can identify the apps icon in Google play or use “My App List”.
I will not provide the configurations, at this point, per app (just a short description)…. Maybe we can do that in another thread to define optimum performance of the Axon 7 battery once we filter out which apps we shall use
My idea is that people share their 5 cents of which apps/tricks they use for battery savings so we could create an “optimal configuration” with the recommended settings.
[No message]
Phone Signal (2g/3g/4g) + Wifi
1. Intelli3G (X) : Switch to 2g when phone off, turn off data when Wifi connected
2. PNF Root: Changes the pulse interval of the Cellphone and the Wifi
3. Auto Pilot: If phone signal drops bellow a certain value then the phone goes into airplane mode and checks every xminutes for good signal, instead of pinning all the time
4. Gestor de red wifi: Uses gsm towers to localize the wifi hot spots for the network you connect to. If you are in an area where you do not have a network it will disconnect Wifi. Good option if you forget, like me, to turn off the Wifi when I leave home
CPU / System Tweaks
1. BootManager (X): Turn Off apps in the StartUp list
2. Auto Start Manager: Turn off apps in any event (aka if you turn the GPS on I do not want Google Maps to go on until I click it, etc)
3. CPU Turner: change governors / CPU speed in per profile configuration
4. Smart Booster Pro (X) : Control RAM and close apps as needed
5. HEBF Optimizer: Kernel Optimizer, FStrim,Zipalingn, Battery Savings, etc..
Wakelock / Sleep
1. DS Ahorro de Bateria (X): Deep sleep when screen off and control how often it wakes to ping Email/Whatsapp, etc..
2. Force Doze: Force doze right away after screen off
3. Amplify: Turn off wakelocks or control pulse
4. Greenify (X): Hibernate apps
5. No Wakelocks: Block all wakelocks per app, useful for killing wakelock of games or non notification apps, for example.
6. Power Nap: Stop wakelocks/services/alarms from waking the phone during standby
7. XDA forum thread: [Guide]0%[0,0%/h] Idle Battery Drain on Stock Rom (Xposed & Amplify Required!) from Celestial Fury . This is the BIBLE of wakelock management!!
8. Doze: Prevent apps from using cell or wifi internet connection when in sleep mode.
Screen Savers
1. Color Changer: Set the screen Black and White. It is the only app that I have found that allows setting a widget to on/off both in the launcher and in the pull down notification menu.
2. Pixoff Battery Saver: Huge battery saver – Turn off (a.k.a black) leds of a pixel so you save battery, I can achieve 50% savings with acceptable resolution. You can generate also your own pattern.
3. Screen Filter: Filter to dim the screen
4. Screen Saver: Black
5. Any App that I can set black theme
6. Substratum: Theming app, I use Dark themes (paid for them): Domination / Inversion UI/ Swift Black
7. Boot Animation: Change your Boot animation to a dark one
8. TeamBlack: Change to black multiple apps: Whatsapp, Tapatalk,Playstore,Keep, etc..
9. GravityBox: Set swipe the notification bar on, so you swipe your finger left and right to quickly change the DIM.
Battery Checkers and Wakelock Analizers
1. Wackelock Detector : Wackelocks / Greenify apps
2. GSAM Battery Monitor: Wakelocks / Plot
3. BetterBatteryStats: Wakelocks / Plot
Miscellaneous
1. Root Toolbox Lite: Clean Dalvink / Cache after TRWP .zip installation
2. Prevent Running: App will only execute if on intentionally clicked
3. Battery Calibration: After each rom installation, reach 100% charge and erase Battery_Stats
4. Battery Draining: After calibration, a quick cycle of discharge to 0%.
[No message]
WoW! @j77moduss you've done a great work here. One petition, please add links to the apps and to that Bible guide for wakelock management.
Well I did this:
1. Install a debloated ROM and my list of apps. I have about 190 apps.
2. Use Amplify to detect and limit wakelocks.
At this point the deep sleep is almost nothing so I did not focus on wireless signal optimization. It wouldn't bring any significant juice.
3. Find a good CPU and I/O governor/scheduler. I am using ATK Balanced Zhana profile for the Interactive governor, initially designed for the One Plus 3 and working excellent on our Axon 7. This balanced profile can increase the SOT to 7-10 hours without any lack of performance. There are more aggressive profiles such as X.A.N.A. for ramping up and down the cores, able to provide up to 14h of SOT. But the lag and the jittering when scrolling is very annoying when using an extreme battery saver CPU profile. However those profiles are there just in case. In a charging emergency they could be very useful. Kernel Adiutor is my favorite app for Kernel tuning, and it is compatible with our stock kernel.
I am happy with the current setup. I am benchmarking (Using BetterBatteryStats) the current battery performance with different profiles. I am planning to install Naptime or ForceDoze (Naptime seems to be better, What do you think?), however I do not use much the Doze mode except at night. While at work I need to receive emails, messages, etc, while driving I use Spotify and At home I often browse internet when I am not playing with it. And again, The battery problem is more related to the screen and CPU than any other subsystem of the device after working out the software wakelocks.
Saludos
100 % stock here, no debloated, no unlocked bootloader, nothing. Just using out of the box.
5:35 hours SOT is a fantastic battery performance.
Go thru 25 apps installs, unlock bootloader, etc etc for let's see... +1:30 Hs of SOT ? Really worth the pay and time spend in this?
I am missing something here?
Sorry but is a honest question, not trolling at all.
Enviado desde mi ZTE A2017U mediante Tapatalk
Altomugriento said:
100 % stock here, no debloated, no unlocked bootloader, nothing. Just using out of the box.
5:35 hours SOT is a fantastic battery performance.
Go thru 25 apps installs, unlock bootloader, etc etc for let's see... +1:30 Hs of SOT ? Really worth the pay and time spend in this?
I am missing something here?
Sorry but is a honest question, not trolling at all.
Enviado desde mi ZTE A2017U mediante Tapatalk
Click to expand...
Click to collapse
It all depends on the mix of apps you use. There are some apps that are not well polished and they have too many wakelocks, or incompatibilities with some combinations creating too much battery drain. When you install more than 150 apps and you use more than 4 or 5 social apps along the day you begin noticing a huge reduction in your battery. Not to mention Spotify, Google app, Google fit, etc. Well know for keeping your phone from going to a low power mode.
As I said before, the culprit of all this problem is basically 3:
1. Wakelocks: avoid your device to enter into low power mode, this makes your phone to waste too much battery at night or when you are not using it for some minutes.
2. CPU throttle configuration: Default governors and schedulers are usually not tuned. The manufacturers do not pay special attention to this and it is critical for having a smooth device with good battery. The ramp up and down parameters are critical here. A good profile can provide you more than 10 hours SOT without any lack of performance. Sincerely, ZTE should pay attention to this since the hardware is much more powerful than just the default 5 or 6 hours of SOT.
3. AMOLED screens are very good at saving power, and if you have your theme configured in black then the screen can contribute a lot in expanding the SOT figure. Some people use the phone more than 6 hours per day and they require to apply those mesures. probably +1:30 H of battery juice can be the difference between requiring a power bank or the battery charger.
With this phone I do never have to charge it during the night. And the car charger during commuting to work is in excess enough for keeping it alive and healthy the whole day and night and with better performance when I need it. You do not need 25 apps to do so, and probably the package @j77moduss is sharing with us is excessive and for sure overwhelming to the standard user. Maybe not 25 but 5 or 6 apps to fix the 1, 2, 3 problems and another 5 or 6 to monitor the behavior in case of excessive drain is really common and can help you on extending several hours the SOT of your terminal while reducing the idle consumption.
Altomugriento said:
100 % stock here, no debloated, no unlocked bootloader, nothing. Just using out of the box.
5:35 hours SOT is a fantastic battery performance.
Go thru 25 apps installs, unlock bootloader, etc etc for let's see... +1:30 Hs of SOT ? Really worth the pay and time spend in this?
I am missing something here?
Sorry but is a honest question, not trolling at all.
Enviado desde mi ZTE A2017U mediante Tapatalk
Click to expand...
Click to collapse
Based on your numbers (even though they're anecdotal we can use them as a point of reference), that's giving you a 26% increase in battery with software optimization alone. I would say that's pretty damned good and worth the effort.
However, I do agree that getting 5:35hrs of SOT is pretty awesome straight out of the box. That's one of the first things that blew me away with this phone. All this power and you're getting 5:30 SOT. I light game, mid user with videos/music, but I have all my google/exchange sync to push, and have an Android Wear device connected pretty much all the time. So I expect to hit the battery a little harder than most users.
Another thing that stood out to me was the stock build. Granted, it's not as polished as some of your heavy hitters out there, but it also has a lesser footprint than most (I'm looking at you HTC and REALLY looking at you Samsung) Rooting and debloating the stock ROM has been absolutely perfect for me. I like to know exactly what my phone is running and honestly, it's worked out quite well.
Hello again, a suggestion like Lord Kelvin said "what you do not measure you cannot improve"
I have a suggestion to verify how is really running the best configuration and it is Untutu Battery test.
Maybe we could post our configuration and the Untutu result.
Any other suggestions?
@j77moduss, these are my comments on the battery extension app pack in blue:
Phone Signal (2g/3g/4g) + Wifi
1. Intelli3G (X) : Switch to 2g when phone off, turn off data when Wifi connected
2. PNF Root: Changes the pulse interval of the Cellphone and the Wifi
3. Auto Pilot: If phone signal drops bellow a certain value then the phone goes into airplane mode and checks every xminutes for good signal, instead of pinning all the time
4. Gestor de red wifi: Uses gsm towers to localize the wifi hot spots for the network you connect to. If you are in an area where you do not have a network it will disconnect Wifi. Good option if you forget, like me, to turn off the Wifi when I leave home
I leave wifi, bluetooth and LTE signal activated the whole day and night. During nigh I have about 1% drain so the cell phone signal (very low at home) or wifi are not significant energy drainers lately. Probably the monitoring task of those apps are consuming about the same wireless energy you are saving with them.
CPU / System Tweaks
1. BootManager (X): Turn Off apps in the StartUp list Usually you install things you need. Stopping push notifications removes part of the functionality, otherwise they are not started.
2. Auto Start Manager: Turn off apps in any event (aka if you turn the GPS on I do not want Google Maps to go on until I click it, etc) What are you using this for? GPS is not by any means a huge battery drainer in this phone.
3. ]CPU Turner: change governors / CPU speed in per profile configuration This is the main cause of battery drain. An optimized profile can even duplicate the screen on time.
4. Smart Booster Pro (X) : Control RAM and close apps as needed This is actually a very bad idea. Free RAM equals to wasted RAM. reading from RAM take less energy than reading from the flash storage. While the app is cached in the RAM it is not using energy until it is required. If you flush the RAM then next time your phone will use a lot more energy and time to reopen the app. This was an issue Jellybean. Nowadays clearing RAM is something we should avoid at all cost. RAM is a cache for the apps, so use it as much as possible.
5. HEBF Optimizer: Kernel Optimizer, FStrim,Zipalingn, Battery Savings, etc.. Filesystem optimizations could be improved by just switching to F2FS filesystem. This doesn't require zipaligns and it helps on saving energy and extending the life of your flash storage.
Wakelock / Sleep
1. DS Ahorro de Bateria (X): Deep sleep when screen off and control how often it wakes to ping Email/Whatsapp, etc..
2. Force Doze: Force doze right away after screen off
3. Amplify: Turn off wakelocks or control pulse
4. Greenify (X): Hibernate apps
5. No Wakelocks: Block all wakelocks per app, useful for killing wakelock of games or non notification apps, for example.
6. Power Nap: Stop wakelocks/services/alarms from waking the phone during standby
7. XDA forum thread: [Guide]0%[0,0%/h] Idle Battery Drain on Stock Rom (Xposed & Amplify Required!) from Celestial Fury . This is the BIBLE of wakelock management!!
8. Doze: Prevent apps from using cell or wifi internet connection when in sleep mode.
Numbers 1,2 and 6 seems to be somehow doing the same thing. What is the best from your point of view? why? Numbers 4 and 5 seems to be the same, however I do not find any use for them without losing functionality. No. 8 falls into the phone signal group. In this group the true game changer is Amplify.
Screen Savers
1. Color Changer: Set the screen Black and White. It is the only app that I have found that allows setting a widget to on/off both in the launcher and in the pull down notification menu.
2. Pixoff Battery Saver: Huge battery saver – Turn off (a.k.a black) leds of a pixel so you save battery, I can achieve 50% savings with acceptable resolution. You can generate also your own pattern.
3. Screen Filter: Filter to dim the screen
4. Screen Saver: Black
5. Any App that I can set black theme
6. Substratum: Theming app, I use Dark themes (paid for them): Domination / Inversion UI/ Swift Black
7. Boot Animation: Change your Boot animation to a dark one
8. TeamBlack: Change to black multiple apps: Whatsapp, Tapatalk,Playstore,Keep, etc..
9. GravityBox: Set swipe the notification bar on, so you swipe your finger left and right to quickly change the DIM.
We have one of the best screens in the market. This AMOLED Samsung panel is excellent. The absence of backlight is a great for battery savings so the more black you have, the less relevant the screen is for the SOT. Number 2 and 3 seem to be similar and I am curious about them and have my fears regarding the extra CPU required to process the screen. Which one is better? The big thing here is number 5. Number 8 is also interesting. The rest are not providing a significant advantage.
Battery Checkers and Wakelock Analizers
1. Wackelock Detector : Wackelocks / Greenify apps
2. GSAM Battery Monitor: Wakelocks / Plot
3. BetterBatteryStats: Wakelocks / Plot
I really recommend everyone to use Accubattery for at least one week to learn how to properly charge the battery. The rest of the statistics are provided by the las couple of apps you listed. Nonetheless all the battery apps are needed when you are actively tuning your phone, after a while they become useless garbage until you face another huge change such as a new ROM.
Miscellaneous
1. Root Toolbox Lite: Clean Dalvink / Cache after TRWP .zip installation This is useless in current OS. Now since the huge transition to the new ART (Android Run Time), the OS detects new installed apps so cleaning dalvik / Cache is just adding more useless drain to the battery since the AOT compiler has to process all the apps instead of only the new one. In the old times this was beneficial, not it is something you must do only if it is absolutely required.
2. Prevent Running: App will only execute if on intentionally clicked I am curius about this. what is the purpose of it regarding battery saving?
3. Battery Calibration: After each rom installation, reach 100% charge and erase Battery_Stats Why? Battery stats are aso wiped when you do a clean flash. If the OS is good enough it should take cate of recalibrating the battery. It only takes a few seconds.
4. Battery Draining: After calibration, a quick cycle of discharge to 0%.[/QUOTE] NEVER!!!!!!! There are 2 states really dangerous for the battery. One is full charge. If you reach full charge, it means that you have stressed the battery a lot in order to reach that state. New hardware battery managers just avoid reaching 100% charge just to extend the battery life. It is a common technique for PC laptops. Accubattery is one of the few battery managers that is actually focused in extending the life of your battery. You won't want to have 20% less battery after 1 year of charging it to 100% each night. Well, the second and most dangerous state for a Li-ion battery is to reach full depletion. A state of deep discharge can make it impossible to recharge again since some batteries require an extra kick not provided by the charger. Do never leave any device on until depleted, if you leave it fully discharged for a while, chances are that you will need to replace the battery. The bottom line of this is: avoid 100% charge, 85% is fair, as much as %90 and do NEVER reach full depletion. If you r phone reaches 6% just turn it off completely.
There are other ways to improve the battery such as switching to F2FS filesystem with optimized mount options. F2FS is specifically designed for flash storage. It reduces the write cycles and optimizes the use of the cache so it is far more energy efficient than the linux etx4. On the other side, it extends the life of your flash storage, including the emmc and the micro SD card die. Less writes means less wear.
Also avoid unnecessary apps, they will drain battery when rebuilding the ART AOL cache and requires extra processing for the launcher as well as for the OS in general.
I am quite happy you opened this thread with this discussion. There are other users around here such as @JeromeLeung also looking for the best performance vs. battery balance for the Axon 7.
I attach some screenshots of my battery evolution and stats for today.
Basically it drained about 1% during 5 hours at night. At work the signal is even worse and depend on the place in the building. However I spend a lot of time on wifi. At work and during the morning the screen was on for 8 hours while the battery level only drop 50%.
Extrapolating these values to a full battery level, the SOT is about 16 h
During the day I attended 3 phone calls and multiple Skype and WhatsApp calls. I used Spotify during the round trip commuting using Bluetooth. I browsed internet, I used XDA labs app, mail (tons of them), text messages, Skype, hangouts and WhatsApp messages. 4 pictures and I also had to install one app.
I only applied 4 tweaks to get this:
1. Optimized F2FS filesystem
2. Amplify
3. balanced AKT Xhana CPU profile (amazing performance)
4. Dark themes in several apps
All that using ZADmix7 ROM with stock kernel as the base system. I also enjoy premium sound with Viper4Arise that takes some CPU for the audio enhancement while playing music during commuting.
So yes, only 4 tweaks can almost triplicate the screen on time, increase performance and solve the deep sleep problem.
Oki said:
I attach some screenshots of my battery evolution and stats for today.
..... snip .....
I only applied 4 tweaks to get this:
1. Optimized F2FS filesystem
2. Amplify
3. balanced AKT Xhana CPU profile (amazing performance)
4. Dark themes in several apps
.... snip ....
Click to expand...
Click to collapse
Thanks for the in-depth analysis. Can you explain "Amplify", which of the 5 "Xhana Balanced" profiles you used & looks like you are fine-tuning an update to the application of F2FS? How will that change F2FS implementation for those of us that haven't made the change yet?
amphi66 said:
Thanks for the in-depth analysis. Can you explain "Amplify", which of the 5 "Xhana Balanced" profiles you used & looks like you are fine-tuning an update to the application of F2FS? How will that change F2FS implementation for those of us that haven't made the change yet?
Click to expand...
Click to collapse
I think they released a new all in one script called AKT that only has 2 Xana and 1 Zhana profile. Simpler! :laugh:
JeromeLeung said:
I think they released a new all in one script called AKT that only has 2 Xana and 1 Zhana profile. Simpler! :laugh:
Click to expand...
Click to collapse
Thanks, I'll check again. I had downloaded the AKT just yesterday.
amphi66 said:
Thanks for the in-depth analysis. Can you explain "Amplify", which of the 5 "Xhana Balanced" profiles you used & looks like you are fine-tuning an update to the application of F2FS? How will that change F2FS implementation for those of us that haven't made the change yet?
Click to expand...
Click to collapse
The one I was using yesterday was the Xhana profile. It is under the balanced submenu of the AKT command. It won't work on stock kernel unless you enable init.d support before flashing the AKT profiles ZIP. Regarding the F2FS optimization, please read the updated OP of that thread, In my latest posts in that thread I explain the procedure to integrate the mount options in init.d. The rebuild of the filesystem structure with optimized values is about to be simpler, since we are tuning the new TWRP 3.0.3-f2fs with backported F2FS drivers from Android 4.10. Do not use it yet since it can destroy your data partition if you use it as any other TWRP!!!! 3.0.3-1 is the safest so far. But you are safe if you already have a backup of your /data and /sdcard folders.
Oki said:
The one I was using yesterday was the Xhana profile. It is under the balanced submenu of the AKT command. It won't work on stock kernel unless you enable init.d support before flashing the AKT profiles ZIP. Regarding the F2FS optimization, please read the updated OP of that thread, In my latest posts in that thread I explain the procedure to integrate the mount options in init.d. The rebuild of the filesystem structure with optimized values is about to be simpler, since we are tuning the new TWRP 3.0.3-f2fs with backported F2FS drivers from Android 4.10. Do not use it yet since it can destroy your data partition if you use it as any other TWRP!!!! 3.0.3-1 is the safest so far. But you are safe if you already have a backup of your /data and /sdcard folders.
Click to expand...
Click to collapse
Got it. I have HawkPepper, just above "Project'. The F2FS optimizations look interesting, but a bit confusing at this point. I used F2FS on my N5, but it was simply a question of having a kernel that supported, saving sdcard contents, changing structure from TWRP and copying tbe data back again.
amphi66 said:
Got it. I have HawkPepper, just above "Project'. The F2FS optimizations look interesting, but a bit confusing at this point. I uses F2FS on my N5, but it was simply a question of having a kernel that supported, saving sdcard contents, changing structure from TWRP and copying tbe data back again.
Click to expand...
Click to collapse
Axon 7 stock kernel supports F2FS, so you just have to do basically what you did with the N5. However there are some mount options that can optimize the structure created during the data restore, and that depends on the F2FS implementation. There are also some problems with the encryption, this is why I wrote the guide for the Axon 7.
Oki said:
The one I was using yesterday was the Xhana profile. It is under the balanced submenu of the AKT command. It won't work on stock kernel unless you enable init.d support before flashing the AKT profiles ZIP. Regarding the F2FS optimization, please read the updated OP of that thread, In my latest posts in that thread I explain the procedure to integrate the mount options in init.d. The rebuild of the filesystem structure with optimized values is about to be simpler, since we are tuning the new TWRP 3.0.3-f2fs with backported F2FS drivers from Android 4.10. Do not use it yet since it can destroy your data partition if you use it as any other TWRP!!!! 3.0.3-1 is the safest so far. But you are safe if you already have a backup of your /data and /sdcard folders.
Click to expand...
Click to collapse
Do you mind sharing the Amplify wakelocks/alarms/services settings you have on your phone? Just bought the app, but have no idea what is safe to tweak without breaking the phone </3
Pollito788 said:
Do you mind sharing the Amplify wakelocks/alarms/services settings you have on your phone? Just bought the app, but have no idea what is safe to tweak without breaking the phone </3
Click to expand...
Click to collapse
I haven't limited the system too much. I do not want to get rid of receiving messages or limiting location services, so I allowed the wakelocks to be active every 180 sec. I limited: GCoreFlp, Location ManagerService, NlpWakeLock, AudioIn, bluedroid_timer, NlpCollectorWakeLock.
Same for alarms: com.droid27.twc.ACTION_TIMER_TICK, ch.bitspin.timely.widget.UPDATE_ACTION and com.android.chrome/com.google.ipc.invalidation.external.client.contrib.AndroidListener$AlarmReceiver.
I have not limited any service. I do not want to save battery while losing features.
I was losing about 1% through the night so I do not need to go very aggressive on Amplify configuration. I just force close Spotify after using it since I see it drains the battery when not in use. Amplify is not per-se a battery saver, it helps you on controlling rogue apps.
As you could see, the magic for saving battery is not Amplify, but the good tunables for the Interactive CPU governor and IO scheduler provided by AKT. These days I have been testing different Governors and I have found that BurnoutPR3 is best for benchmarks but for a daily driver Balanced Shana profile is awesome. With it I get from 10 to 16 hrs. of SOT depending on the high load time I put on the CPU (pictures, video recording time, youtube...).
I never charge the phone by night with the Axon 7 since I do not need it, all thanks to QC 3.0, I barely charge it in my car while commuting to work and by night, if I am under 40%, I load it about 25 mins to 70% and next morning while my 15 mins commuting time it reaches about 85-90% (never full charge it if you want your battery to last more than a few months). Short sessions of quick charge are healthier than long sessions to 100%. On the other hand do never leave your battery run out of charge or close to 0%. AccuBattery app can teach you how to get healthier charging habits.
Saludos
Oki said:
I haven't limited the system too much. I do not want to get rid of receiving messages or limiting location services, so I allowed the wakelocks to be active every 180 sec. I limited: GCoreFlp, Location ManagerService, NlpWakeLock, AudioIn, bluedroid_timer, NlpCollectorWakeLock.
Same for alarms: com.droid27.twc.ACTION_TIMER_TICK, ch.bitspin.timely.widget.UPDATE_ACTION and com.android.chrome/com.google.ipc.invalidation.external.client.contrib.AndroidListener$AlarmReceiver.
I have not limited any service. I do not want so safe battery while losing features.
I was lust losing about 1% through the night so I do not need to go very aggressive on Amplify configuration. I just force close Spotify after using it since I see it drains the battery when not in use. Amplify is not per-se a battery saver, it helps you on controlling rogue apps.
As you could see, the magic for saving battery is not Amplify, but the good tunables for the Interactive CPU governor and IO scheduler provided by AKT. These days I have been testing different Governors and I have found that BurnoutPR3 is best for benchmarks but for a daily driver Balanced Shana profile is awesome. With it I get from 10 to 16 hrs. of SOT depending on the high load time I put on the CPU (pictures, video recording time, youtube...).
I never charge the phone by night with the Axon 7 since I do not need it thankls to QC 3.0, I barely charge it in my car while commuting to work and, if by night I am under 40% I load it about 25 mins to 70% and next morning while my 15 mins commuting time it reaches about 85-90% (never full charge it if you want your battery to last more than a few months). Short sessions of quick charge are healthier than long sessions to 100%. On the other hand do never leave your battery run out of charge or close to it. AccuBattery can teach you how to get healthier charging habits.
Saludos
Click to expand...
Click to collapse
I appreciate the detailed explanation. Thanks a bunch !

[URGENT]Too much of battery drain and heating

Hey guys
I am experiencing too much of battery drain. In lineage14.1
Which is bugging me a lot....
Too much of heating
I am on stock lineage kernel.
Guys please suggest me some roms and kernel settings combination because it is too much irritating....
I am writing this thread with 0% battery (with powerbank connected)
By any chance didn't you recently copied a video file to your phone ( maybe mkv format ) ?
@ehsan_zt no bro... I had no mkv files... And after your saying... I deleted each and evry video from the device
ok, I thought maybe its the old media server bug...
You can install one of those apps that tells you "which process is utilizing how much cpu" . also check min cpu speed of your phone in kernel auditor(and monitor cpu speed for anything unusual).
do a clean flash of this rom.
and lastly check if other people with this rom have this kind of problem (I remember people saying recent lineage os updates were draining battery fast ).
Look, developers don't use to change CPU voltages, use my kernel, I fixed this issue
I change the LineageOS to Mokee 6.0 because this issue. Lineage is a great rom but high battery drain in standby. Mokee is the best choice to better battery backup. Try this.
AOSPextended has great battery life.Lineage doesn't give much backup for me ;Now i get about 3.5-4 hrs SOT.
use Greenify and CPU Hibernation app on all roms you use.
hey bro.. tried out your kernel .. performance increased a lot...
but battery issue still persists ... 40% to 0% within 2 hours of standby and 30 min of usage.....

Nexus 6p battery

Hello again guys, I have a situation, I've checked my battery usage and ''Android system and Android OS'' use a lot of it, almost as much as the screen. I don't know if this is normal.
For ex. in the last 24h i've used facebook/instagram, camera app (a lot) messenger, whatsapp.
I'm using android N 7.1.2. stock Nexus 6P.
I can't add photos because I'm new.
Usage:
Screen - 18%
Android system - 18%
Android OS - 12%
Thanks,
Victor
Hello...
Try rebooting into recovery and try wiping cache partition. Maybe that will solve your issue.
Good luck...
Victor92 said:
Hello again guys, I have a situation, I've checked my battery usage and ''Android system and Android OS'' use a lot of it, almost as much as the screen. I don't know if this is normal.
For ex. in the last 24h i've used facebook/instagram, camera app (a lot) messenger, whatsapp.
I'm using android N 7.1.2. stock Nexus 6P.
I can't add photos because I'm new.
Usage:
Screen - 18%
Android system - 18%
Android OS - 12%
Thanks,
Victor
Click to expand...
Click to collapse
This is a common problem for many of us, there are a lot of threads talking about this, check the thread "Nougat battery problem" in the nexus 6p section, I've found it very useful several times.
Inviato dal mio Nexus 6P utilizzando Tapatalk
Google has been setting the stock kernel settings at high performance values since about the January OTA which is why Google, the operating system and the screen are using so much more of the battery than in the past. I can't think of a good reason Google would do this other than to burn out these phones faster, but whatever the reason they are definitely doing it. If you root and flash a custom kernel the difference in power consumption is very noticeable.
Thanks for the support, I've done 'wipe cache partition' and I've installed AccuBattery.
No changes so far, but something strange is happening, on the phone battery settings SOC in 3h.2min with computed power use 590Mah, Screen16%, Android System 16% and Android OS 12%, Messenger 5%, Instagram 5%
while in the AccuBattery app it says -
Screen on 67% 2.092 mAh in 2h56 min. - Screen off 13% 449Mah, - Per-app Usage(mAh) messenger 505, Instagram 439, Google photos 250, youtube 195.
Who's right?
Have a great day,
Victor
Victor92 said:
Thanks for the support, I've done 'wipe cache partition' and I've installed AccuBattery.
No changes so far, but something strange is happening, on the phone battery settings SOC in 3h.2min with computed power use 590Mah, Screen16%, Android System 16% and Android OS 12%, Messenger 5%, Instagram 5% while in the AccuBattery app it says - Screen on 67% 2.092 mAh in 2h56 min. - Screen off 13% 449Mah, - Per-app Usage(mAh) messenger 505, Instagram 439, Google photos 250, youtube 195. Who's right?
Click to expand...
Click to collapse
In short, I don't think you can rely upon the capacity % breakdown in Google's battery settings. Just looking at your SOT consumption rates I'd say Battery Settings is off. 3 hrs of SOT uses much more than only 590 mAh. Also don't mistake AB for an accurate battery "drain" app either- it is designed as a battery "charge" app. The dev states in his documentation that it was never intended to accurately measure app or process current drain. What does AB tell you your estimated battery capacity is on the health tab, and based on how many charging sessions? Is your bootloader unlocked? If so you could temporarily boot TWRP without over-writing stock recovery (fastboot boot) and then wipe the dalvik / ART cache which may straighten things out for you.

Miui9 battery drain bug

So as everyone knows, miui is full of flaws for redmi pro. Miui8 has the cell standby battery drain, a problem that is solved in miui9.
Still, there is a new bug where the battery is drained by "Unaccounted". This is what system2 app shows in "battery history". Also, the CPU is kept awake by system_server. Stock battery usage shows "Android" and "Android system" as top battery usage apps.
Anyone figured out a fix? Anyone having the same problem?
I tried to deny permissions for Android and other system apps, but with no luck...
I'll upload screenshots in the second post for a more detail view
Edit: one more thing I forgot to mention. When the phone is plugged in (charging) the CPU is no more kept awake in background by Android and Android system. So all the problems are solved when it's charging. xD
Here are the attachments. Thank you
Same issue in miui 9
Here are my battery usage screen shots
I have mine 100% awake, all the time. Redmi Pro X20 3gb.

Android System Battery drain (oreo)

Android system is using lot of battery more than screen. It's not optimised well. any fixes?
Same here. And I did a factory reset after updating to Oreo... High android system battery drain, I wonder what happened? Hopefully we got a fix soon.
Same here even after factory resetting android system draining most of the battery.
Is it really draining or do you only see it in stats? To be honest I stopped checking detailed battery stats, looking at discharging rate chart + idle battery drain (when the screen is off) are usually enough to say if there is a problem. Battery usage chart should be almost flat when you don't use your phone, Oreo has quite strong and fast doze mode.
Make sure it's really draining because Bluetooth shows me 12000+mAh spent with 80% battery left so obviously a bug in the charts not in the system itself. (Same goes for RCS)
Same here. I have RCS first in battery consumption then the screen. With nougat the chart of the battery had flat zones. With Oreo the chart is always descending even when not using the phone
We must wait for the january update, i think it will be fixed
Wysłane z mojego Mi A1 przy użyciu Tapatalka
huge battery drain for bluetooth for me. Android system is fine
iamakii said:
huge battery drain for bluetooth for me. Android system is fine
Click to expand...
Click to collapse
Yes me too Bluetooth still consuming battery even without turning it on
afrizal87 said:
Yes me too Bluetooth still consuming battery even without turning it on
Click to expand...
Click to collapse
same issue with me. I have not checked for the January patch yet. I am rooted via magisk, lovin' the gcam in mi a1.
the bluetooth battery drain issue is the only problem in my unit so far.
I too had the system battery drain problem.I solved it by removing my SD card and disabling "backup" in setting menu.
I got the same problem after updating to the January patch.
I read that the "APP preview messages" in Google options can be the problem, so i am checking this out with and without the option and look a the wakelock detector what it does.
afrizal87 said:
Yes me too Bluetooth still consuming battery even without turning it on
Click to expand...
Click to collapse
This is a bug. Has been fixed with January security update.
I even have Bluetooth on ( cause I have a smartwatch) and it's using almost nothing
Petty Palkovics said:
This is a bug. Has been fixed with January security update.
I even have Bluetooth on ( cause I have a smartwatch) and it's using almost nothing
Click to expand...
Click to collapse
Im rooted with magisk and twrp,there is a thread that give a way how to get ota without losing root with magisk but i still afraid because they didn't mention if it would be fine if i have twrp recovery. What should i do to get January update without losing root and twrp,?
afrizal87 said:
Im rooted with magisk and twrp,there is a thread that give a way how to get ota without losing root with magisk but i still afraid because they didn't mention if it would be fine if i have twrp recovery. What should i do to get January update without losing root and twrp,?
Click to expand...
Click to collapse
No idea... Haven't rooted this phone
wimmetje said:
I got the same problem after updating to the January patch.
I read that the "APP preview messages" in Google options can be the problem, so i am checking this out with and without the option and look a the wakelock detector what it does.
Click to expand...
Click to collapse
DRAIN PROBLEM FIXED:
After some tests yesterday and over the night (while i was a sleep) with help of wakelock detector, i got my drain problem fixed by turning off the "APP preview messages" in Google options menu.
So try it maybe it works for you guys!
I've that option disabled by default...but great battery drain in standby
danistuta said:
I've that option disabled by default...but great battery drain in standby
Click to expand...
Click to collapse
Damn, do you have wakelock detector lite installed? Just install it and keep it running for a couple of hours he will show you more information.
I've found that is that kernel wakeup: 7000000.ssusb that keep my phone alive also in standby...someone else with this problem? any solution? Thanks.
wimmetje said:
Damn, do you have wakelock detector lite installed? Just install it and keep it running for a couple of hours he will show you more information.
Click to expand...
Click to collapse
You can fix the standby battery drain by enabling "Data Saver"
Yes, I did say DATA, not battery saver
Go to settings and type "data saver" in the search box - switch it on.
I have stock OREO ROM, no fancy battery saving apps or custom kernel.

Categories

Resources