[Galaxy S III Original Android Development] curiousrom:
Re: 4.5% Battery Drain per Hour? - BetterBatteryStats Setup

"...quick question" - That one always makes me smile as it usually requires a long reply. ;)

"...around 4.5% battery drain per hour whilst on flight mode, and only Wi-Fi enabled. No Google account signed in... - That's not normal. Try rebooting in Safe Mode (long press Power off or Restart) to rule out user installed apps interference and leave the phone alone for a couple of hours.

Did you install Open GApps immediately after LineageOS without rebooting in between? If so which package? Anything bigger than Nano is not good for the S3's limited RAM. See Variant Package Comparison. I use Pico & get the extra apps I want in Play Store.

I am running 100% stock Official Lineage 14.1 on the S3 i9300 + Open GApps ARM Pico + Lineage ARM super user add-on for root with twrp-3.2.3-0-i9300 @ the present.

No Magisk, no custom kernel & no Xposed or system modifications of any kind.

As seen in BetterBatteryStats @ idle I get -0.2%/h battery usage with Wifi enabled & sync disabled & -0.6%/h with sync enabled which includes Play Store Google account (auto-update disabled) & Gmail, WhatsApp, Facebook, etc. (screenshot)

That's with official LineageOS 14.1 for S3 i9300 installed as described here: S3 LineageOS Super Clean Install & Samsung Firmware including Format Data (not only wiping Data) in TWRP and optimized as described here: S3 LineageOS 14.1 Battery Optimization.

Check also LineageOS S3 i9300 Known Issues Workarounds.

***

Free BetterBatteryStats XDA Edition

Have you tried BetterBatteryStats (BBS) to troubleshoot your battery drain problem? Check the If you need help chapter in post #1 of that thread.

I used the HockeyApp in post #2 of that thread (Get release candidates here or the big QR code) to get the most recent free XDA version which is 2.5.2-274 (95) @ the present instead of the older

betterbatterystats_xdaedition_debug_2.3-248.apk attached to that post.

Here are my BBS Settings preferences (sorry for XDA app users for the huge post as the Hide "spoiler" option works only in browsers @ the present):

Theme > Default

Filter stats > Default selected

Battery Details > selected

Customize Views > all Default. Users with a system language other than English may want to select Force English to be able to post in XDA.

Default stat > Default Summary

Default stat type > Since Screen Off

Sharing options > Default Dumpfile only

Auto refresh > disabled to avoid annoying constant refreshing when switching screens

Widgets > Default as I don't use them

Watchdog > Default Reference on unlock selected but Awake threshold & Duration threshold sliders pushed to the maximum to the right

Active Monitoring > Default off

Advanced >

Analytics > off

Debug (Add debug info to logcat) > off

Minimum percentage that counts as charged > Default 100%

Enable while charging > Default off

App Permissions > make sure all permissions are granted

Import/Export > I exported my settings. Note that this panel says: Import/Export Preferences from/to bbs_preferences.txt but the full real path is /sdcard/Android/data/com.asksven.betterbatterystats_xdaedition/files/Download/bbs_preferences.txt

I attached my exported bbs_preferences.txt (left-click Save as) which includes analytics disabled. If you would like to use it do not rename the file & after starting BBS at least once, close it & copy the file to /sdcard/Android/data/com.asksven.betterbatterystats_xdaedition/files/Download/bbs_preferences.txt.

Then start BBS > Settings (cog) > Advanced > Import/Export > Import. Then back to > Advanced > App Permissions & grant all permissions.

If you don't have root the BBS thread's post #1 linked above explains how to grant permissions using adb.

In LineageOS > Settings > Privacy > Privacy Guard > BBS > all permissions granted except Notification/Toast & Modify settings.

I start BBS, close it, charge the phone to 100%, clear the Recents tab, disconnect, reboot & leave the phone alone without touching it for at least 5 hours. Then as soon as I tun the phone on: start BBS & use the Share icon to capture immediately the Dumpfile & often I also include the logcat & dmesg (kernel log). You can write a note in that window describing if the phone had wifi and/or cell data, if sync was enabled, etc. before doing it. That note will be included in the Dumpfile.

If you choose Save it will be saved in /sdcard/Android/data/com.asksven.betterbatterystats_xdaedition/files/Download/. Most of the time I just Share > email it to myself. Only after that can you take screenshots of BBS without affecting the logs.

When you don't need BBS >Privacy Guard > BBS > disable Start at boot to avoid a useless process running in the background. Obviously re-enable when you want to use it to check how your system is doing battery wise.

***

Fake Battery?

"Android OS is eating 32% of the battery..." - Everything is relative. If you don't do anything with the phone the % will be greater than if you use some apps with a lot of screen time, sync, location enabled, etc.

It also depends on how old your battery is or if it's fake or not. A OEM Samsung S3 battery weighs 38g, fake ones 33~36g. I got scammed and bought a cosmetically perfect one but it is charging & discharging very fast & weighs only 33g.

***