[HTC 10 Guides, News, & Discussion] fossils-n-dents:
Hello

By following many, many XDA forums, downloading/ buying apps, trial and error, advice, ect. I think I may have a solution to the battery drain some of us experience with our devices. I feel confident my process applies to most phones running Nougat.

*This procedure will also cover most Android devices running 6.0 and up.

This guide is on the assumption you are rooted, and removed all bloatware. But may help some for the non-rooted idk.

*Create a Nandroid backup...Reboot.

*Delete any battery saving apps/ task killers/ antivirus apps.

1. Disable Wi-Fi. (You can re-enable later) Personally, I leave it disabled until needed.

2. Clear data in Google Play Services, Google Maps, and Google Play Store.

3. Go to Settings> Power> Battery Optimization> Reset App Preferences...Reboot.

4. In Settings, turn off Body Sensors, Bluetooth, Vibration, Location, Auto Sync, disable 'Backup and Reset'. (You can enable later)

5. Delete/ disable all apps you do not use. Less apps means less background operations while idle, a good thing. Delete Facebook/ Instagram/ Twitter apps, Viber, Whatsapp, and any other known battery hogs. (You can download again them later)...Reboot.

6. Follow this link. Thanks [MENTION=3378734]MeggaMortY[/MENTION] !!! The link cuts down some of the wakelock/ chatter/ cpu usage during idle.

https://xdaforums.com/oneplus-3/how-to/guide-stop-google-play-services-t3549760

Follow the steps he has provided. I personally used MyAndroid Tools Pro for disabling Services and Broadcasts.

Next...

*Download App Ops from PlayStore. Open App Opps, and scroll down to Google Play Services. Select 'Prevent Phone from Sleeping' -Select 'Ignore'...Exit App Ops.

*Download Greenify from Play Store.

Using Greenify settings, select:

1. Shallow Hibernation, and Automated Hibernation.

2. Greenify System Apps (Requires Donation Package)...Exit Greenify.

*Download ForceDoze from Play Store.

*Personally, I use ForceDoze. (Try using your personal doze app if you wish).

In ForceDoze settings select:

1. 'Turn off ForceDoze While Charging'.

2. 'Ignore Lockscreen Timeout'.

3. 'Disable Wi-Fi during Doze'.

4. 'Doze delay '0' seconds'.

5. 'Disable Motion Sensing...Exit ForceDoze'.

*Return to phone settings, go to Power> Battery Optimization> All Apps list. Select ForceDoze, Greenify, App Ops, MyandroidTools, (Or whatever app you used to disable your services) as 'Do Not Optimize'.

Reboot to recovery (Also assuming you are using TWRP).

Select 'Advanced Wipe'.

Wipe 'Dalvik/Art Cache' and 'Cache'...Reboot.

Charge to 100%.

Remove charger. Let idle for 6+ hours minimum let to your battery monitor (BBB or GSAM, ect) have a good look. You can trim the excess fat afterwards...Then slowly add your social/ email/ sports/ weather/music apps. I would suggest you use your browser instead for these things. (Less battery stress during idle).

I also keep sync off, and manually sync, and only use Wi-Fi / Location/ Bluetooth when needed. (Optional, but saves battery)

**After you see your improvement, feel free to try out the device settings/ apps that balance functionality with battery savings!

*Mileage may vary depending on how many apps/ settings you have enabled (smartwatch, Facebook, ect. The less apps/ settings running, the better).

Sorry for the length. but I wanted to make this easy to follow.

Hopefully, this at least reduces some of the drain. Let me know.