yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  Guides, News, & Discussion] F5:ed:
I got curious about this script, so I have installed it - will report my experiences later.

To those who also want to try:

1. Install the "generic" version for OP6t (I DL to NotePad in my computer first , and saved it as 94pks23generic.sh then I transferred the file to OP6t

2. Rename the file to 94pks23generic.sh

3. Use a root explorer (I use Solid Explorer) to drop the file in ROT>DATA>ADB>SERVICE.D

4. Make sure you have 755 permission = mark the file, choose properties>attribute and change to -rwxr -xr - x and save changes.

5. Reboot.

6. Make sure the script is running by doing this:

Open Magisk manager, go into settings, click "log" and select the "Magisk" tab. You should see a bunch of stuff, but near the bottom you should see:

: ** late_start service mode running

: * Running service.d scripts

service.d: exec [94pks23generic.sh]

Something wired (positive) occurred after installation: the one and only Tasker project I have done (who I never got started before) now works as indented. Don't know if the script treat other apps in "battery optimization" different than OP6t stock....

I have also run 2 benchmarks, they are like before (Antutu 297477, Geekbench 2387/9055). The subject feeling I have is that it is a little bit snappier with the script enabled, but it can of course be a placebo effect....

I believe that the mayor benefit will bee better battery management. Future will tell... but OP6t is already very good as is I think.

In "Normal usage" I get 1,5 days with OP6t stock.

I have seen people chasing highest SOT, but I have checked the other way - the Minimal Usage Time (MUT) he, he, he = just use it for a couple of phone calls per day, google time when I do no 2 in my bathroom, check small thing, update apps, but otherwise leave the phone in standby >>> I got 6,25 days...... and I'm impressed, very impressed by that.

This is what the script has to beat - stay tuned for updates!
[OnePlus 6T  Guides, News, & Discussion] sruel3216:
Yeah I used it on my pixel 2 xl and I saw a clear difference with performance. So PK made it an universal script. Even tho this phone is so fast I wanted to use it anyways. It's not going to hurt anything. I did however delete the zram section in the script.
[OnePlus 6T  Guides, News, & Discussion] F5:ed:
"I did however delete the zram section in the script"

Can you explain why?
[OnePlus 6T  Guides, News, & Discussion] sruel3216:
I've read with phones that have this much ram that zram isn't needed. But then I have read some people saying zram helps. So I don't know lol

Edit: it actually looks like PK disabled zram in this script. His older ones has zram enabled
[OnePlus 6T  Guides, News, & Discussion] F5:ed:
With your Pixel phone, was the benefit mainly performance or also battery management? Documented or just your impressions?

For the OP6T it would be of interest if people report their observations, this way maybe the developer can improve the script - so start testing guys!
[OnePlus 6T  Guides, News, & Discussion] sruel3216:
Not document but could completely tell when opening apps that we're previously closed. Before I'd open an app and I'd get a split second of a pause then the app would be ready to use. After the script id open an app and the app would be instantaneous, like it was already running in background. Mainly apps like Google photos, gmail, Google messages. Definitely felt it with battery too. I wouldn't need to charge as quickly between charges.

PK is super cool and appreciative of feedback. I'm sure he would improve the script for us if enough used it. Let him know your feedback in his pixel 2 thread.

Maybe we can start at PK thread here?
[OnePlus 6T  Guides, News, & Discussion] F5:ed:
After some days using the script, I decided to uninstall it. On my device it didn't improved battery or performance - in fact battery time got worse with approx 10-15%.

That's not saying the script doesn't help on your device, you have to try it by yourself. The script was written for Pixel 2 xl, so maybe not fully optimized (yet) for OP6t.

In fact the stock version of OP6t is very effective, I will upload my SOT in short (at the moment I have +11 h SOT, total usage +48 h, and still have 10% remaining....) in the OP6t SOT-thread. That's hard to beat.... :)
[OnePlus 6T  Guides, News, & Discussion] sruel3216:
I unrooted due to a hard reset cuz of the 9.0.10 update not working for Verizon. So now I'm 9.0.10 stock and I swear my battery is always better when I do not root lol
[OnePlus 6T  Guides, News, & Discussion] F5:ed:
Has anyone tried this https://xdaforums.com/apps/magisk/xz-lxt-1-0-insane-battery-life-12h-sot-t3700688 on OP6t?

LKT is a Magisk module (root needed), in theory it sounds great.
[OnePlus 6T  Guides, News, & Discussion] adibaba777:
Is the stock kernel and rom available please share lonk

---------- Post added at 09:55 AM ---------- Previous post was at 09:51 AM ----------

Have you been able to resolve the issue
[OnePlus 6T  Guides, News, & Discussion] roddem:
Extremely pleased with the battery life so far. Got it the first day it released.

Getting around 7 hours SOT with heavy usage. Twitter and other football notifications coming in every 5 minutes (specially during the weekends ;) ).

Plus the charging speed is just awesome!

Hope it stays the same
[OnePlus 6T  Guides, News, & Discussion] Yazuac:
What about battery drain in idle ? How much percent does the phone drain during night ?
[OnePlus 6T  Guides, News, & Discussion] AhsanU:
7 hours and 42 minutes of SoT with 25% battery life.

Mainly YouTube, settings up my Galaxy Gear S3, and changing icons. Very impressive battery life thus far.
[OnePlus 6T  Guides, News, & Discussion] suaverc118:
I had to finally go to bed but could have gotten more out of my phone. Mainly on wifi though. TMobile variant.
[OnePlus 6T  Guides, News, & Discussion] Dameon87:
Last bit before heading to bed. Showed the other screen with screen percentage.
[OnePlus 6T  Guides, News, & Discussion] vhc:
Wow, 8 hours of doing what? And for 2 days?? Sounds too good to be true
[OnePlus 6T  Guides, News, & Discussion] Dameon87:
A bit of youtube, news reading, texting, snapchat, twitter, XDA, a few phone calls in there as well. I don't really play games much on my phone, so that may cause the battery to drain a bit quicker.
[OnePlus 6T  Guides, News, & Discussion] vhc:
Thats awesome!

Yeah based on endurance tests on YouTube, the op6t doesn't last as long as some phones, it might be because of the games running for a long period of time that's causing it to overheat, draining the battery more quickly.
[OnePlus 6T  Guides, News, & Discussion] Dameon87:
Games are one of those things that you should kinda expect to drain your battery more. But even the reviews I did see with gaming in the mix the SOT was still over 6 hours. That's not bad, if you're going to be gaming. And considering the phone charges ridiculously fast... I'd say it's not of much consequence.
[OnePlus 6T  Guides, News, & Discussion] bramvank:
I have been using the 6t for the last five days now, and I was pleasantly surprised with the battery (coming from a OnePlusX). I had 8.5 hours of SoT on the 6t. (Sorry for the Dutch in the screenshot).
[OnePlus 6T  Guides, News, & Discussion] marcmarshall:
60% at 3 hours. 20% of usage is Firefox.
[OnePlus 6T  Guides, News, & Discussion] :
Going strong...
[OnePlus 6T  Guides, News, & Discussion] PriteshChauhan:
Really very very impressed.. this is probably the fourth battery cycle.
[OnePlus 6T  Guides, News, & Discussion] PriteshChauhan:
This is when the day ends.. and readying for the next charge..
[OnePlus 6T  Guides, News, & Discussion] pvaldeben:
That is great, Did you charge it fully to 100% before you started using it the first day or did you let it drain completely before giving it its first full charge?
[OnePlus 6T  Guides, News, & Discussion] :
Got about 5 hours of SOT 3 days ago with heavy usage (I still had 14% left when I connected it to the charger). I had the camera up for most of that day as I was testing the camera. So I'd say that a better example would be the day before that when I got 4 hours and 55 minutes of SOT and still had 42% left (I mostly used YouTube on that day and also used the camera, but not as much 3 days ago). So really impressive SOT, much better than my Honor 8.
[OnePlus 6T  Guides, News, & Discussion] Chrisy8s:
Yeah, I am beyond impressed with the battery life. It seems to do better in high use than in stand by honestly. If I'm using it regularly I will get 8-10 hrs SOT, if I'm not it drops to 5-6. This is my current cycle. Should last 48 hrs. My first pie phone; latest phones have been S9, Moto Z2 Force, iPhone 8 and this thing is magic with power management. I run a Samsung watch all the time, Bluetooth headsets, wifi always on, custom widgets running... I can't drain this in 24 hrs if I tried Very pleased.
[OnePlus 6T  Guides, News, & Discussion] DaBigDM:
I've been getting great battery life. Any recommended or widely used battery settings?
[OnePlus 6T  Guides, News, & Discussion] EspElement:
I have no idea how people get 8-10 SOT on any phone man... Though, I get really good life here, I can get about 2 days out of it, but more like 5 SOT. I suspect if someone is using 8 hr SOT they are just laeving he screen on all day. How can you use it 8-10 hours in a day??
[OnePlus 6T  Guides, News, & Discussion] :
I use mine all day
[OnePlus 6T  Guides, News, & Discussion] pro4ever:
:D 2days
[OnePlus 6T  Guides, News, & Discussion] treetolber:
This battery if excellent! I'm coming from the HTC 10 which had a dismal battery life especially after the Oreo update. Screenshot below shows detailed usage of my battery since last full charge. SOT was just over 5 hours at time of screenshot. I did plug the USB into my PC to transfer some media files so that's the only charging it has received since I got it on Tuesday.

View attachment 4637688
[OnePlus 6T  Guides, News, & Discussion] bill3508:
Here is my first full charge usage.

Location off, only a couple apps restricted like twitter and one other. Battery saver came on at 25%.
[OnePlus 6T  Guides, News, & Discussion] EspElement:
duck duck go better for battery than chrome you think? I have used naked browser in the past as well. Thoughts?
[OnePlus 6T  Guides, News, & Discussion] bill3508:
Yes, chrome is very bloated. Chrome has more features for sure but there is a trade-off.
[OnePlus 6T  Guides, News, & Discussion] klemono:
Second day of 6t usage, not bad. View attachment 4637946View attachment 4637947
[OnePlus 6T  Guides, News, & Discussion] Jager:
I get pretty bad standby drain when in airplane mode with wifi calling enabled. I'm talking about 2 to 6 percent an hour drain. See my thread here: https://xdaforums.com/oneplus-6t/help/heavy-standby-drain-airplane-mode-wifi-t3864383
[OnePlus 6T  Guides, News, & Discussion] :
My first week with this baby after getting all my apps and stuff installed on this Tmo version. Stock. I'm happy so far.
[OnePlus 6T  Guides, News, & Discussion] EspElement:
I just don't get it. I got 25 hours and 2 SOT right now... 2 hours for calls... Any thoughts?
[OnePlus 6T  Guides, News, & Discussion] klemono:
Some app it's causing to drain your battery. I would give a week and see if the battery stabilizes also. If no change I would a factory reset.
[OnePlus 6T  Guides, News, & Discussion] portcqb:
That may just be the wifi calling on my V30 I left wifi calling disabled because even out of airplane mode it drained much quicker with it on.
[OnePlus 6T  Guides, News, & Discussion] EspElement:
Yea I just installed amazon cloud cam and chick fil a app, so I am watching those two guys.

I also usually have data saver on, this should be helping battery right?
[OnePlus 6T  Guides, News, & Discussion] Jager:
I used my 5T in the same manner as my 6T here and had 1% or 2% drain in 8 hours while in airplane mode with WiFi calling on. I just need to see if other people are experiencing this or not. Then I'll know if I need to factory reset or not.
[OnePlus 6T  Guides, News, & Discussion] vhc:
My guess is that it depends on your network signal. If you're out and about, you're bound to be in patchy areas, causing more battery drain during standby
[OnePlus 6T  Guides, News, & Discussion] pguo:
You should be fine since my drain is 4% in 10 hours without airplane mode. I just started setting the phone in airplane mode when I go to sleep.
[OnePlus 6T  Guides, News, & Discussion] Jager:
You misunderstood me. My 6T has standby drain of 2% to 6% an HOUR with airplane mode on with WiFi calling enabled. I was comparing it with my 5T as in my last post.
[OnePlus 6T  Guides, News, & Discussion] GenoAndroid:
I was so blown away. I used to have a zuk z2 and it would normally get 7 hours of screen on, but this here .........View attachment 4638644
[OnePlus 6T  Guides, News, & Discussion] lew87ys:
To the guys with 8 plus hours of battery life, do you have location switched off? I just can't see how people are getting this good?

I'm getting between 4 and 5 hours and I only use apps like Instagram, Spotify, chrome, reddit, WhatsApp and Facebook.
[OnePlus 6T  Guides, News, & Discussion] AlkaliV2:
Just by having Facebook installed you are destroying your battery life. Lots of articles and information out there about how they cannot fix the idle losses cause by the app on Android. You're much better off just using it in your browser if you really want to get the most of your battery. I use reddit everyday and despite it taking up a LOT of user storage it doesn't seem to hurt my battery life. As for IG, don't use it so I don't know. Spotify never caused me an issue, though OOS is bound a determined to kill it if your phone is idle too long in my experience.
[OnePlus 6T  Guides, News, & Discussion] vhc:
Where do you use??

I get much better SOT at home than outside. Especially when there are patchy signal areas.
[OnePlus 6T  Guides, News, & Discussion] cwalker0906:
I have Facebook and am getting great battery life
[OnePlus 6T  Guides, News, & Discussion] AlkaliV2:
And you'd get even better battery life without it.
[OnePlus 6T  Guides, News, & Discussion] cwalker0906:
Of course but dudes horrible battery life isn't cause of Facebook. I looking to get 40 hours with 11 hours of screen time. I'm ok with that lol so I'll keep Facebook
[OnePlus 6T  Guides, News, & Discussion] Haz3:
9 days total with the phone. Bottom numbers are my averages
[OnePlus 6T  Guides, News, & Discussion] AlkaliV2:
I have a problem with OOS killing accubattery in the background and not allowing stat updates. Did you remove battery optimizations on it to keep you stats?
[OnePlus 6T  Guides, News, & Discussion] Haz3:
I didnt. All I did was set permissions and the normal set up routine
[OnePlus 6T  Guides, News, & Discussion] lew87ys:
Should of said I'm actually using the metal app for Facebook. Is it the same deal with that do you know?

Also what's the normal for drain over night? Last night it was at 48% or 47% and when I woke up it dropped to 42%. Is that about normal?

I got sleep optimization on (should I) but I don't have the other one turned on which I think is called advanced optimization. Both found under battery optimization if you click the 3 dots.

---------- Post added at 11:59 AM ---------- Previous post was at 11:57 AM ----------

I use it on 4g in my office after I take it off charge from 9 to 5 then I'm on wifi when I get home at 5 until 11 or 12.

---------- Post added at 12:02 PM ---------- Previous post was at 11:59 AM ----------

That looks great. I don't dare use YouTube as I would have even worse battery life.

Do you think my phone is faulty or I'm just unlucky?

Maybe a factory reset would fix it? Or not?
[OnePlus 6T  Guides, News, & Discussion] cwalker0906:
Give it a couple days to settle, but I'm blown away by the battery of this thing, if it don't get better then try a factory reset
[OnePlus 6T  Guides, News, & Discussion] lendawg:
I have the TMobile variant and don't see the options for advanced optimization. Is that something new with 9.0.5?
[OnePlus 6T  Guides, News, & Discussion] IX3C:
I'm really happy with the battery life I get. Coming from a LG G6.

[IMG="screenshot"]https://i.imgur.com/6dmcyNm.jpg[/IMG]
[OnePlus 6T  Guides, News, & Discussion] throwback1718:
My only problem is really the battery drop while not in use. I was able to get 8 hrs yesterday. But it was a mix of wifi and cellular data.

I'm on T-Mo.

I'm also on vacation. So I'm using it a lot heavier than if I was back at home on a typical day for me.

Probably a lot more standby time.
[OnePlus 6T  Guides, News, & Discussion] lew87ys:
I'm on 9.0.4.

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

Anyone know what the best app to monitor my battery is? So I can find out what's draining it.
[OnePlus 6T  Guides, News, & Discussion] jochem86:
My current and average numbers.
[OnePlus 6T  Guides, News, & Discussion] MrPhilo:
Guys using Accubattery, you should edit your phone battery size mah to 3330 (90% of 3700). This will then give a more accurate in terms of battery health in percentage

Since my OP3 to now, it always seems to be at 90% battery health even when new. I'm guessing this is how the dash charge work. So I always change it to 90% battery size so I actually have a rough idea on my battery health.
[OnePlus 6T  Guides, News, & Discussion] AlkaliV2:
You're trying to troubleshoot the most difficult thing to diagnose because every person uses their phone differently. What I can tell you is that I don't know really know about Metal for Facebook, but my experience tells me that social media keeps the phone awake more often than most any other apps on your device because they are constantly looking for notifications. What you can do is install an application called BetterBatteryStats which could help you determine what is happening with your device and the biggest wakelock issues on your phone. It is recommended to be rooted, but you can use it without it as long as you have a laptop nearby to pass in an adb command. This is the easiest way to troubleshoot outside of a factory reset. They have a thread you can go through to see what your wakelocks are and how to fix them located here: https://xdaforums.com/showthread.php?t=1179809

If you use that tool and give it a good amount of time to see what is happening on your device (a few days) you can check the stats and discover how to best fix the issue. If you don't want to wait though you absolutely can factory reset to remove any issues you might have, you just have to be willing to make the time investment of setting everything back up.
[OnePlus 6T  Guides, News, & Discussion] robbieast:
Best battery I've ever gotten from a phone. I just upgraded from my one plus one that I've had since 2014 which was struggling to get 3hr of SOT. Very pleased!
[OnePlus 6T  Guides, News, & Discussion] liver20:
BazingaView attachment 4640174

Enviado desde mi ONEPLUS A6013 mediante Tapatalk
[OnePlus 6T  Guides, News, & Discussion] Nileshdd:
Battery life is excellent. 37 hrs with 5.5 hrs screen time.

Current situation is even better! Very happy..
[OnePlus 6T  Guides, News, & Discussion] eshipp31:
Wow

Wow 4 years
[OnePlus 6T  Guides, News, & Discussion] majortaylor:
Best battery life I've ever gotten from a smart phone!
[OnePlus 6T  Guides, News, & Discussion] nima0003:
I applied a black substratum theme and my sot went from 4 to 6 hrs.
[OnePlus 6T  Guides, News, & Discussion] dxdiag:
I bought my OnePlus 6T last Wednesday and have been charging 3x since then.

Only get 5 hours SOT within 1.5 days (30 hours). Does the Android system still need time to optimize the battery?

I only see here SOT over 8 hours, are these phones already battery-optimized?
[OnePlus 6T  Guides, News, & Discussion] lew87ys:
Thank you. I think I'll give it a few more days and see if the battery settles and see how it goes first. Then I'll start doing some tests.

Are there any good battery apps that don't need root or a laptop?

I know that maybe adaptive battery causes drain ( not sure why) so I turned that off but what about advanced optimization and sleep standby optimization in battery optimization?

Also I deleted Facebook app and decided to use it in Chrome browser and it works ok but if I click on a post that has more than one picture (click on one of the pictures) it says that there is a problem and nothing loads. If there is only one picture it loads fine.

I have tried in different browsers too and the same happens. Can anyone try just to confirm it's not just me??
[OnePlus 6T  Guides, News, & Discussion] marcmarshall:
Would the native dark theme be just as good for battery?

---------- Post added at 08:54 AM ---------- Previous post was at 08:52 AM ----------

Anyone have any feedback regarding the adaptive battery feature?
[OnePlus 6T  Guides, News, & Discussion] lendawg:
Everything I've read so far says adaptive battery has been ruled out as far as battery drain. Only a few people have experienced better battery by disabling it but the majority have experienced more drain when disabled. I guess it just comes down to personal experience. I have 30 plus apps restricted and adapative battery enabled and am getting nothing short of amazing battery life
[OnePlus 6T  Guides, News, & Discussion] sidn3y:
What are you using to restrict apps?
[OnePlus 6T  Guides, News, & Discussion] lendawg:
Just doing it via app settings and it's a feature of adaptive battery.
[OnePlus 6T  Guides, News, & Discussion] liam_davenport:
OOS 9.0.5 ElementalX 3.0.4, Mainly WiFi, 2-3hrs LTE, 50% Brightness and Locations disabled.
[OnePlus 6T  Guides, News, & Discussion] bp328i:
Guess I'm getting pretty good screen on time. Nothing special done, WiFi, Bluetooth, location on all the time, two Gmail accounts added, Facebook, messenger, I don't do anything to neuter my phone's.
[OnePlus 6T  Guides, News, & Discussion] lew87ys:
Wow that is good. Especially with Facebook, messenger, location and Bluetooth on.

I'm still struggling to get over 4. I really don't know how it can vary that much

Are you on the latest update 9.0.5? I just got the update pushed to my phone but see a lot of people say thier battery life went down after updating. So I'm not sure if it should update.
[OnePlus 6T  Guides, News, & Discussion] bp328i:
I am on 9.0.5, bootloader unlocked and rooted with the stock kernel.

I don't know if this has anything to do with it but I'm not using Substratum to theme. I'm using Swift Installer (it's a new way to theme your phone but much easier than Substratum) and running a basically all black theme.
[OnePlus 6T  Guides, News, & Discussion] nima0003:
No not as much, I had 4 hrs sot with it, the black sub theme makes every app black so that's probably why.
[OnePlus 6T  Guides, News, & Discussion] marcmarshall:
Makes sense with amoled screen. I'll try it out. Thanks.
[OnePlus 6T  Guides, News, & Discussion] Ippolito1971:
First cycle after rooting still with 19%. Without root I was averaging 7hrs I'd say. Nothing special installed or helping SOT. This phone is a beast but all OP's usually are for me. One of the reasons I love OnePlus phones.
[OnePlus 6T  Guides, News, & Discussion] jameseelin:
I am extremely pleased with this phone's battery life!

I'm a hardcore gamer and never in my life have I reached 5.5 hours of SoT, before I was getting 2.5 hours on other phones, this is great!
[OnePlus 6T  Guides, News, & Discussion] sidn3y:
Weird. I don't see anything about being able to restrict apps. You have the T-Mobile variant?
[OnePlus 6T  Guides, News, & Discussion] jameseelin:
It's in the settings, go to app's info, click on battery usage or something and you'll be able to restrict it from there
[OnePlus 6T  Guides, News, & Discussion] lew87ys:
Battery seems to be getting a little better. I did drop 5%over night in standby mode though. Is that normal?
[OnePlus 6T  Guides, News, & Discussion] lendawg:
I believe you restrict the apps in the settings menu under apps and notifications. Yes I have the TMobile variant.
[OnePlus 6T  Guides, News, & Discussion] justibasa:
Flashed 9.0.5 on my tmobile 6T last night and then flashed elemental x and this is where I'm at so far today.