yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] TheMystic:
[solved] - battery drain...

Okay guys,

I was getting on an average around 4 hours SOT (10 to 15% battery remaining) over a standby time of 15 to 20 hours, depending on usage.

Battery is drained primarily by hardware (between 70 to 90%) like display (brighter screen will drain battery more), wifi/ mobile radios (weaker signals will drain battery more), location services, etc. So any tweaks to control how your apps behave will have only a minor impact on how much you can extend your battery life.

With a few setting changes available within the ROM, I have been able to increase my SOT from an average of 4 hours to more than 5 hours (10 to 15% battery remaining). This is significant because it is an improvement of over 25% in battery life. Your mileage may vary depending on your apps and usage style.

My device (3T) is rooted, and this is what I did:

1. Settings/ Apps & Notifications/ [for each app]/ Battery/ Background restriction - change it to restricted.

Apps excluded:

Email

Chat

File Managers

Browsers & Downloaders

Backup & Sync apps

Magisk

Firewall

VPN - you can restrict it if you don't use it 24x7

Phone

SMS

Clipboard

AppLock

Others as you deem necessary

2. Settings/ Havoc Settings/ System/ Privacy Guard

Go through each app and revoke unnecessary permissions, especially "Keep device awake", "Run in Background", "Start at Boot", etc.

My other configurations:

1. I have most Google apps.

2. Balanced power profile

3. Automatic brightness

4. DCI-P3 colour calibration

5. Location ON and set to High Accuracy 24x7

6. WiFi and Mobile data On all the time.

7. VPN running 24x7

Some pictures:

As you can see, my device goes into deep sleep for sufficient time, despite most Google apps installed.

Try these for yourself and let me know if it worked for you.
[OnePlus 3 & 3T Cross Device Development] Edikuun:
What screen calibration are you using guys?
[OnePlus 3 & 3T Cross Device Development] karkiankit:
Settings from screen calibration doesnot stick, like color temperature returns to its default value after restarr

any fix for.this
[OnePlus 3 & 3T Cross Device Development] TheMystic:
This issue has already been reported. For now, just toggle the custom calibration button and your values will be applied. Fortunately, you don’t have to adjust the values manually with every reboot.
[OnePlus 3 & 3T Cross Device Development] uudruid74:
Same here. The Installer version is awesome. Works everywhere
[OnePlus 3 & 3T Cross Device Development] Gatorfade:
Color Profiles

I can't seem to find screen color profiles. There is no Live Display under Display settings
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Settings/ Havoc Settings/ Device.
[OnePlus 3 & 3T Cross Device Development] winga45:
Volume rocker wake ain't working for nothing
[OnePlus 3 & 3T Cross Device Development] C-3OP:
Havoc Settings > Device > Display
[OnePlus 3 & 3T Cross Device Development] 0xPraeT0Rian:
Is Chromecast working for any of you? For me casting seems broken and it worked just fine some builds ago. I can cast YouTube but not the screen of the phone.
[OnePlus 3 & 3T Cross Device Development] kenny_cfc:
Yes. That's the one
[OnePlus 3 & 3T Cross Device Development] Az719:
Slim recent is great. But i get fc every time i doubletap the recent button... Anyone has same issue...?
[OnePlus 3 & 3T Cross Device Development] 21-Savage:
Why on Earth would you have both WiFi & data on at the same time?
[OnePlus 3 & 3T Cross Device Development] jaymoker:
Hello,

[MENTION=4187311]Setialpha[/MENTION] , [MENTION=7578917]SKULSHADY[/MENTION]

I'm trying to use nanodroid 20.4 with the 12/31 build of Havoc but the system isn't spoofing the signature whereas I granted the right permission to microg apps and checked the "Enable signature spoofing" option in Havoc settings.

I only installed Havoc OS (12/31 build), Magisk 18.0 and NanoDroid 20.4.

I saw on NanoDroid thread that it seems to be related to the december security patch.

see this :

But I don't understand what the "privapp-permissions" part means exactly.

And, globally, it would means that as of 20.4 version of NanoDroid, the problem I'm facing should have disappeared, right ? see Edit2

Does someone found a workaround to successfully trigger system sigspoof ?

Edit: I also did a clean wipe and just installed Havoc OS (12/31 build), enabled Havoc Settings > System > Allow signature spoofing then installed "Signature Spoofing Checker" and granted Apps & notifications > Apps permissions > Spoof package signature > Signature Spoofing Checker.

But the app still reports that Signature Spoofing is disabled.

Edit2: I found this.

From what I understand, my problem is not related to what Setialpha mentionned about the december security patch because I successfully granted the android.permission.FAKE_PACKAGE_SIGNATURE permission to microg and Fake store apps.
[OnePlus 3 & 3T Cross Device Development] TechTiks:
I couldn't get it to work as well by using the settings. I don't know if there is a big and risky downside but I used the nanodroid patcher for sigspoofing.

So either I have to reapply the patch for the next havoc update or it gets fixed.

One way or the other microg with sigspoofing is working for me.
[OnePlus 3 & 3T Cross Device Development] jaymoker:
Havoc OS (12/31 build) has native sigspoof.

You can flash NanoDroid Systest zip to verify it.

And as stated by Setialpha here :

So, yes, there's a big downside.
[OnePlus 3 & 3T Cross Device Development] TechTiks:
Than I am lucky. No problems at all so far. Havoc may support sigspoofing but it only started working with the patch.
[OnePlus 3 & 3T Cross Device Development] jaymoker:
Which patcher version did you use ?

Because the 20.4 patcher detects if your ROM is already patched and doesn't execute the patching process.

So I wonder if you used the 20.4 version and you still succeeded to run the patcher.
[OnePlus 3 & 3T Cross Device Development] TechTiks:
NanoDroid-patcher-20.4.20181230

It took quite some time but it succeeded.
[OnePlus 3 & 3T Cross Device Development] jaymoker:
I also succeeded to get it to work.

It didn't say that the ROM has native sigspoof support contrary to the NanoDroid Systest.

I'm continuing this discussion about microg on the NanoDroid thread here.

NanoDroid aside, I still think there's an issue about signature spoofing support in Havoc OS because, as stated few posts above :
[OnePlus 3 & 3T Cross Device Development] TheMystic:
I just leave them both on, unless I won’t be using either of them for a long time. While I don’t know how much battery savings would occur, I am seeing a decent battery life even with both on.
[OnePlus 3 & 3T Cross Device Development] TechTiks:
Seems so. If there is an option for sigspoofing and it doesn't work, then it must be a bug.

I remember that there was another ROM with the same behavior (showing sigspoofing support but not working, even with correct settings and priviliges) but I don't remember which one.

I also tested Skydragon, MSM Xtended, AOSiP and Nitrogen. It must have been one of them.

So it's something in the code that the other ROM in question and this ROM share?
[OnePlus 3 & 3T Cross Device Development] spinoza23:
Why the battery's capacity is lower in this rom?

It show a capacity of 2380 mha
[OnePlus 3 & 3T Cross Device Development] vip57:
it is the reamining capacity after your usage
[OnePlus 3 & 3T Cross Device Development] mani1997:
Hello bro ,can u tell me how did you take this scroll screenshot pls?
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Longshot app on Google Play Store. Pretty decent and comes with a QS tile.

https://play.google.com/store/apps/details?id=com.leavjenn.longshot

---------- Post added at 06:28 AM ---------- Previous post was at 06:24 AM ----------

[MENTION=3259888]vip57[/MENTION]

I think it is the actual (estimated) battery capacity (since battery deteriorates over time) today.
[OnePlus 3 & 3T Cross Device Development] Az719:
I have something teasing my mind. Maybe it's kinda silly or even stupid question. Lol.

So if i change my battery with a new one the capacity will incrase right.. What if i change it with the 3T (i have a 1+3) that has more capacity...? The rom is unified after all...
[OnePlus 3 & 3T Cross Device Development] 0xPraeT0Rian:
They run at different voltages. I think oneplus also implemented some hardware stuff(limiting op3 capacity to 3000) so you cant fry your phone.

You can try tho...
[OnePlus 3 & 3T Cross Device Development] DerEmryz:
Relevant read:

https://xdaforums.com/oneplus-3/accessories/placing-3400-mah-oneplus-3t-oneplus-3-t3510883/page8

OnePlus integrated a script after Marshmallow to stop OP3 users to use the 3400mAh batteries.

I think it's too much hassle to get it work properly, as the restrictions are on bootloader level, you couldn't even boot the phone with the current firmware - which you need for this ROM.

I wouldn't recommend it.

Maybe if 3 and 3T get the Pie update and new firmwares, some smart Dev will look into it, but you shouldn't get your hopes up.

Try to maximize your battery life if you are not satisfied right now.

The tips posted by [MENTION=8146381]Sridhar Ananthanarayanan[/MENTION] are great to get some more SOT.

Maybe underclock if you are no heavy gamer. Use naptime and Tasker to shut off things like Bluetooth if you're not connected

AccuBattery and the system battery app report around 2800mAh left in my once 3400mAh battery, and I get around 6hrs SOT.

YMMV
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Under-clocking does not actually save any battery, atleast to not any meaningful extent, contrary to what many people think. On the other hand, it could well ruin user experience. I hate if my device stutters and I am unwilling to take a performance hit under any circumstance.

Naptime, in my experience, is like Clean Master telling us stories about how much they have helped secure the device and boost performance/ battery life.

Using a background service, like automation apps, to constantly poll and perform specified actions too hardly result in any meaningful battery savings. There is a cost associated with every activity.

In summary, keeping a lean system with only essential apps and a few inbuilt tweaks gives the best experience with your device.
[OnePlus 3 & 3T Cross Device Development] vip57:
the oneplus 3 will not accept oneplus 3t battery even if the battery fit into op3 but the phone won't boot and say the battery is not compatible with it
[OnePlus 3 & 3T Cross Device Development] DerEmryz:
As you said, it's your experience. Mine was another. Of course developers want to sell you something, but it wouldn't last long if nothing would work.

And I would not put clean master and naptime on the same level. First one from chettah mobile, a pretty sketchy company privacy wise, and the second one from Francisco Franco, the dev of Franco kernel.

I had quantifiable more deep sleep time after using naptime, which directly resulted in better battery.

Same way with Tasker. It does not constantly perform tasks in the background if you don't let it do so. If you use it to switch between kernel power profiles, like high power only for camera and lower power profile as default, you can definitely achieve better battery life.

Depends on the kernel, tho, but holy dragon is very good, even underclocked.

Also I did not get any stutter whatsoever after I UCd - of course going below a certain threshold will get you stutters. It's a bit try and error for everyone, because everyone uses their phone differently.

Battery life largely depends on how you use your phone.

Still, it's technically correct that having a lean system will give you good results as well - but having bare minimum apps is not fun in the long run.
[OnePlus 3 & 3T Cross Device Development] jaymoker:
Maybe some cherrypicks of the same commits, which result in this bug, made on these 2 ROM.

Or, this is a pure hazard.

To be sure, we should know on which ROM exactly you encountered this problem and if it was the same bug.

Doing the same tests on these 2 ROM and comparing the logs could show if the bug on Havoc is related to the one you had on the other ROM.
[OnePlus 3 & 3T Cross Device Development] uudruid74:
Both aren't on unless you set the developer setting to keep your mobile radio going as a "hot standby"

---------- Post added at 05:04 PM ---------- Previous post was at 04:54 PM ----------

First, this ROM lets you control your Doze Settings. Naptime is redundant because that's all its doing.

Second, I don't believe in underclocking. Just choose a governor that better meets your needs. Otherwise, why on Earth did you buy a fast phone and then cripple it? Let's assume you cap your system at 1.6Ghz (roughly a 25% reduction). How much of your time is normally spent above 1.6Ghz? Maybe 10%? Assuming that you are at MAX speed all the time your phone is normally above 1.6Ghz, then you reduce your power usage by 25% for the 10% of the time when you really need it. That's a savings of 2.5% over the day. NEVER EVER undervolt (not even sure if OP3 kernels allow it anymore) and never report a bug if you do!

I'd rather tweak the governor and know that I get my full speed when I really push the system hard enough. And look for other ways to save battery

---------- Post added at 05:05 PM ---------- Previous post was at 05:04 PM ----------

Since when?

---------- Post added at 05:35 PM ---------- Previous post was at 05:05 PM ----------

What? Different voltages? Where are you getting this from?? Nonsense!

---------- Post added at 05:40 PM ---------- Previous post was at 05:35 PM ----------

Not only is a random guy on XDA not a reliable source, but that isn't a Oneplus battery. I've had my 3T's and my friend's OP3's battery out many times, and neither looks like that.

Don't believe me? Zoom In! It says 1100mAh right on it! LOL.
[OnePlus 3 & 3T Cross Device Development] 0xPraeT0Rian:
dont know much about hardware but here you go

https://imgur.com/swWndXx

side by side

Anyway, what could ever happend? :)
[OnePlus 3 & 3T Cross Device Development] uudruid74:
No idea. Oneplus batteries don't have chips in them
[OnePlus 3 & 3T Cross Device Development] 0xPraeT0Rian:
They do have some charging protection whether on the battery itself or on the motherboard i dont know. If the latter is true you definitely cant swap.
[OnePlus 3 & 3T Cross Device Development] mrclaver:
Why is your WhatsApp blue?
[OnePlus 3 & 3T Cross Device Development] uudruid74:
Worst case is you only get the lower mAh and undercharge. Where is your source that something has been done to prevent a battery swap? (your link to an obvious fake is hardly proof), and your statements that the voltages are different??? Where is this from?
[OnePlus 3 & 3T Cross Device Development] yabadabadooo:
So I think this is pretty good for my op3 :)
[OnePlus 3 & 3T Cross Device Development] uudruid74:
Casting the screen is always different from within an app.

Add this to build.prop and see if it fixes it ...

wlan.wfd.hdcp = disable
[OnePlus 3 & 3T Cross Device Development] reco1:
[MENTION=7578917]SKULSHADY[/MENTION] is there any possibility that we can add eap sim authentication commits under wifi security settings to the rom since this setting is only available on oos and lineage os but doesn't seem to work on any aosp based rom screen shot added below.

Thanks
[OnePlus 3 & 3T Cross Device Development] yabadabadooo:
Screenshot missing
[OnePlus 3 & 3T Cross Device Development] moso11:
I'm using GBWhatsApp.
[OnePlus 3 & 3T Cross Device Development] milomak:
anyone using firefox get this double download thing
[OnePlus 3 & 3T Cross Device Development] uudruid74:
Anyone using Swift Installer?

Select all apps.

Reboot to apply overlays

Reboot to reload resources

Everything looks fine at this point

On next reboot all overlays are gone. Getting this with two different Pie ROMs. I'm thinking its a Pie thing, but not heard of this specifically
[OnePlus 3 & 3T Cross Device Development] yabadabadooo:
Works finde here
[OnePlus 3 & 3T Cross Device Development] milomak:
another thing, i am finding that bbs is no longer really picking up stats properly from unplugged.

it's almost like i have to open bbs from when i unplug to get proper stats (i am thinking this is what i will have to do after the last 2 times unplugging rom 100%)
[OnePlus 3 & 3T Cross Device Development] uudruid74:
Its been doing it for awhile, but last reboot seems to have worked??

And oddly, I just turned ON a crap of Magisk Modules figuring I didn't need to test anything anymore. I should have more quirks, not less
[OnePlus 3 & 3T Cross Device Development] gilsol:
Using swift for a while and found that their systemless module breaks more stuff than it does good. But I'm not having any issues without it.
[OnePlus 3 & 3T Cross Device Development] Taurdas:
While charging it says charging slowly, can i control this or its charger/cable fault?
[OnePlus 3 & 3T Cross Device Development] vip57:
when I'm charging it says Dash Charging

maybe your cable is damaged or charger
[OnePlus 3 & 3T Cross Device Development] xarrismoto:
Unplug it and plug it again and give it some time. Mine did the same thing as yours and then I saw dash charge again on my screen.
[OnePlus 3 & 3T Cross Device Development] uudruid74:
What Swift Systemless module?
[OnePlus 3 & 3T Cross Device Development] tle1957:
Check your charging port maybe it got dirty
[OnePlus 3 & 3T Cross Device Development] satanas17:
Same here ?
[OnePlus 3 & 3T Cross Device Development] Stogie87:
[MENTION=4608158]ZeNiXxX[/MENTION]

[MENTION=7578917]SKULSHADY[/MENTION]

Hi there, is it possible to make feature requests here? It would be great to see an simple option in ambient display to activate a small pulsing notification dot on the top of the display for maybe 15 minutes after one received a notification. This would be great, because OP6T has no notification LED. There is a similar app in play store called "notification blinker", but as you can imagine, it is not compatible with ambient display.

Or maybe as an alternative an kind of "always on" option, which only shows the app notification logos and no time and no date. Or Maybe simply the possibility to deactivate Time and Date on Always on Display.

An option to automatically deactivate always on at night would be also nice.

Regards
[OnePlus 3 & 3T Cross Device Development] uudruid74:
It's now sometimes holding and sometimes not. No idea.
[OnePlus 3 & 3T Cross Device Development] Frankyg:
Is it possible to tune Bluetooth audio?
[OnePlus 3 & 3T Cross Device Development] mani1997:
Under settings ->havoc settings ->gestures -> "swipe up gestures"

This swipe up gestures option don't work properly especially 'swipe up from left / right is back' is not work properly.

At last this entire option is not work well .please fix this

Please consider my opinion and pls reply
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Casting is working fine...

Casting is working just fine. Both screen casting (Miracast) and casting to Chromecast via apps like YouTube and others which support that feature.

---------- Post added at 08:14 AM ---------- Previous post was at 08:05 AM ----------

I know the part that the phone connected to a WiFi network doesn't use the mobile radio for data. I only meant to say that I don't toggle the switch in QS if I am away from the WiFi network for a short period of time. But if I am going to be away from my WiFi network for long, I would toggle WiFi to OFF because I don't want the device to constantly scan for available networks.

---------- Post added at 08:21 AM ---------- Previous post was at 08:14 AM ----------

I didn't completely understand your question, but there are a few options under Developer Options that may interest you.

---------- Post added at 08:23 AM ---------- Previous post was at 08:21 AM ----------

That screen is in a language I don't know, but if it is showing an SOT of 4.5 hours and a standby of 1 day and 22 hours, it is indeed amazing.

Can you share any tweaks you are using?
[OnePlus 3 & 3T Cross Device Development] thom@s:
Just a word to thank developers for this awsome ROM! Until now I had to flash Mady's kernel to get Android Auto working, but with the ROM's latest version I even don't have to flash another kernel than the one included (to get AA up and running).

Kudos!
[OnePlus 3 & 3T Cross Device Development] anshu4590:
My battery capacity is showing 2876 mAh.:confused:
[OnePlus 3 & 3T Cross Device Development] skymera:
Okay..?

Batteries degrade over time and that will be only estimated capacity. Looks normal to me.
[OnePlus 3 & 3T Cross Device Development] Oxellaar:
Here 2511mAh @ 84% charge, I guess it's showing the remaining capacity.

100% charge should be 3000mAh?
[OnePlus 3 & 3T Cross Device Development] Tronje:
Strange, this does not apply to me.

I still have to flash Mady's kernel to get Android Auto working in my Skoda Superb with Business Columbus navigation.

With the included kernel my car and OP3 don't find each other.

But anyway thanks to the developers for great work!
[OnePlus 3 & 3T Cross Device Development] sun.sky4u:
My battery info looks like thatView attachment 4681834
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Has he “restricted” Firefox from using battery in the background? If so, remove the restriction.

---------- Post added at 12:45 PM ---------- Previous post was at 12:42 PM ----------

[MENTION=8208024]sun.sky4u[/MENTION]

It is the real battery capacity of your battery today. Your device battery doesn’t have the same capacity today as it did the day you unboxed it. So the total capacity at 100% is what is shown in that setting.
[OnePlus 3 & 3T Cross Device Development] pxrave:
dear all i have a little problem.

on first start i was asked for my simcard pin (quiet normal) but after restart i wont ask for my pin now tryd it several times? what is the problem? how can i unlock my simcard? wtf?!
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Try toggling airplane mode.
[OnePlus 3 & 3T Cross Device Development] milomak:
Where will this battery restriction be?
[OnePlus 3 & 3T Cross Device Development] TheMystic:
You can check either within the battery stats page or from settings/ apps/ Firefox/ battery.
[OnePlus 3 & 3T Cross Device Development] pxrave:
i try'd everything but i found a bug (i think so)

if i use fingerprint + pattern and unlock at boot it wont show the sim pin screen. now i removed all securty and added it again but without boot blocker and it works fine now

[MENTION=7578917]SKULSHADY[/MENTION]
[OnePlus 3 & 3T Cross Device Development] TheMystic:
Do you mean secure startup is interfering with it?
[OnePlus 3 & 3T Cross Device Development] milomak:
Ah yes it was restricted
[OnePlus 3 & 3T Cross Device Development] thelad:
Don't take those numbers as gospel
[OnePlus 3 & 3T Cross Device Development] pxrave:
yes if i activate secured boot with pattern and fingerprint. the simcard pin screen is not shown anymore.

i would like to use secured boot pattern but not possible

i use open gapps micro (but should be no problem)
[OnePlus 3 & 3T Cross Device Development] aFRicAn007:
Kudos and thanks to devs for this great development. I really liked pixel-like gesture.

But i am facing a few issues, may someone can help me here. Calling app is not working at all. It just keeps crashing and later the phone hangs and reboots( after trying a few times). Also i am unable to receive calls. Same is happening with sms (not able to receive any sms).

Due to these 2 issues i have re-flashed the rom(calling is very important). So i am sorry, won't be able to generate logs(also don't know how to... Sorry). But i can again try on weekend (if logs are needed).

Can someone help me out here???
[OnePlus 3 & 3T Cross Device Development] bart.found:
Hi! I recently flashed this awesome ROM on my device! It works flawlessly and I didn't find any bug so far!

Since official oxygen OS pie is coming to our device... Will avoc be rebased on pie code in any way?

Thank you devs keep it up!
[OnePlus 3 & 3T Cross Device Development] fashion_live:
I cant resolve the problem with all Oreo Roms

Can you explain me how come back to Nougat?