For Oreo 8.1, we have the app battery usage warning UX. This can be controlled by the user on a per app basis.
For Pie 9.0, the obnoxious UX is apparently gone, but there seems to be a new set of app battery usage monitoring that happens without a user facing message. (I admit I'm not 100% sure about this, but it seems to be the case from what I've read in the AOSP docs so far.)
For both 8.1 and 9.0, is there a system level whitelist? If I am an OEM and have an app that I know would trigger the UX (8.1) or management (9.0), it seems likely there is a whitelist or other way that I can control that behavior.
Can anyone point me to more information about this?
Similar to this: https://www.xda-developers.com/android-oreo-background-location-whitelist/
Related
For most of us, the phone is more asleep than it' s in operation. That's why choosing the correct ROM & Kernel is essential for your battery.
I wanted to figure out which ROM is best regarding battery life when the screen is off and how to reach the best result.
I Started testing with the CM13 as it supports Xposed and Amplify, great batterysavers.
I'll Keep this updated per 1 or 2 days.
BetterBatteryStats Calculation.
The app to calculate the drain is called BetterBatteryStats, a well known app.
If I look at my stats: View attachment 0.2.txt I can see the voltage went down from 4402 to 4313 (-89) in 1223minutes. That's 60 x 89/ 1223 = 4.366%/hour = 4.4%, which is correctly showing in BBS in the attached file. Now I translate this to percentages: 4.4% voltage decrease x 5% battery decrease / 89 = 0.245%/hour battery. This is again correct according to BBS. I guess this is a fair calculation. the voltages seem to go up and down all the time, so I don't understand how it's an exact calculation but ok.
Settings
Batterysaving settings - Please KEEP IN MIND It's in a TEST Stage, probably things won't work if you Limit everything like I did, but I didn't encounter many problems =)
-Install Amplify and limit as much of crap you can possibly do. I limited the following to 999999 seconds (lol)
The wakelock names differ to every ROM. That's why I won't name them all. I'll update tomorrow the wakelocks , alarms and services I limited in the xiaomi.eu ROM.
Install Greenify: Aggressive Doze, Working mode: Boost, WakeupTime Coalescing, Deep Hibernation, Gcm Push, Greenifying system apps, Reveal Hidden sync.
And then hybernate all crap, except basic stuff the phone needs. I Hybernated for example: AudioFx, Google play services, live lock screen, nfc service, weather service, google service Framework etc.
General Settings: Wifi never keep on during sleep, BT off, NFC off, Sounds off, Vibrate off, Brightness minimal, no adaptive brightness, disable adjustments, no ambient display, no double tap to wake and sleep, sleep after 5 min, no battery and notification lights, % battery in statusbar, no sync accounts, location off, Developer options: 0,0x animation and duration scales, Play store: dont update, deselect app updates available.
Battery History App: I installed it to monitor at what exact time it decreases every percentage. So I noticed that from 100% to 99% it takes mostly 6 hours or so, while the rest is much lower (around 1 to 3 hours) You can save more battery by not installing this as it has many wakelocks.
Testresults
08/02/2017 - 0.2%/hr in the morning to 0,3%/hr in late afternoon: View attachment 0.2.txt and View attachment 0.3.txt ROM: CM13 + Flashed the CM13 20/12 snapshot & and the DragonXIA CM based Kernel + Kernel Adiutor. Settings: CPU Governor: Ondemand for the 4 cores. disabled Touch Boost. I/O Scheduler: Noop. GPU Governor: Simple On Demand. Gentle Fair Sleepers disabled.
09/02/2017 - 0.3%/hr ROM: Same as above but I disabled the Battery History app. View attachment 09022017.txt
12/02/2017 - 0,108%/hour ! in the morning and 0,148% in the afternoon! -View attachment 0.1.txt & View attachment 4040214ROM Used: xiaomi.eu_multi_MI5_6.11.10_v8-6.0 with Xposed, Greenify, Powernap, Amplify, Battery Saver Off.
13/02./2017 - 0.176% in the morning, 0,267%/hour in the afternoon. View attachment 4040218 & View attachment 4040219Same settings as above but limited more wakelocks.
Are you using cm13 snapshot or nightly(which build)? Also any custom kernel with it?
I installed the 20/12 snapshot, and installed the DragonXIA CM based Kernel
ikzouhetnietweten said:
I installed the 20/12 snapshot, and installed the DragonXIA CM based Kernel
Click to expand...
Click to collapse
Dragonxia 3.x or 2.x version? Gotta try it.
Thank you
Rhine Septimus said:
Dragonxia 3.x or 2.x version? Gotta try it.
Thank you
Click to expand...
Click to collapse
The kernel version Im using is 3.18.31-DragonXia_v3.5-g0d2a020-dirty
Very helpful. Thanks a lot!
Do u have the free or paid version of greenify and amplify?
ManBearrrPig said:
Very helpful. Thanks a lot!
Do u have the free or paid version of greenify and amplify?
Click to expand...
Click to collapse
Thanks my friend, I have the paid version but I downloaded it from somewhere on XDA without paying, and amplify aswell.
I actually got 0,1%/hour with the xiaomi.eu ROM with android 6.0 with xposed and amplify and greenify and powernap. (android 7.0 is not supported by xposed and amplify) I will upload new details tomorrow!
ikzouhetnietweten said:
Thanks my friend, I have the paid version but I downloaded it from somewhere without paying, and amplify I got also from XDA without paying! (android 7.0 is not supported by xposed and amplify) I will upload new details tomorrow!
Click to expand...
Click to collapse
Remove these attachments or soon you would see this thread as closed. Its against the xda's rules.
Ok so Holi(A festival in India) is coming up & I have 4 days off, I thought this would be a nice time to upgrade to Oreo 8.1 from SlimROM Nougat 7.1.2 with my 200 apps also consisting of root, xposed & substratum dependent apps. After a quick search, I found that there were many ROMs that are marked as stable like the Pixel Experience ROM, Nitrogen OS but I've heard reports that all of them have a network standby battery drain bug. I won't have time after Holi for any ROM switching so I want to make sure the ROM I'm selecting doesn't have any bugs. Every customization feature I need is covered by xposed modules, so I don't need any ROM specific features, must just properly support substratum root mode & must be close to AOSP. Can anyone suggest a stable bug-free Oreo 8.1 ROM for the RN3 & also confirm whether the network standby battery bug exists or not? Thanks.
The network standby bug is there on nos. But the battery usage is still around the same as nougat, maybe a little lower. I think its some problem with the battery statistics where it just reports network as the main cause of drain, while actually its not.
Go for omni. If you can stay without a lot of customization then omni ir cardinal sgould be good. On top of that flash a kernel. Shadow or Agni are the ones that have goodix support in oreo. Personally agni is robust. I had been using omni with agni 12.2 and i get SOT's like 10-11 hours(moderate use).
I'm currently using an Honor 10 on EMUI 8.1 COL-L29 8.1.0.120(C432), and noticed that Huawei's PowerGenie doesn't seem to be running or having any effect.
PowerGenie is a background process on EMUI devices that's supposed to change the CPU/GPU clock speeds based on different scenarios in order to conserve battery life, but it can also be manipulated on rooted devices to boost performance for specific apps, like this. On previous Honor devices I was able to modify files like /product/etc/hwpg/normal_cpu_policy.xml to boost performance for emulators but on the Honor 10 the same method seems to have no effect on CPU clock speeds.
For example, on the Honor 9 I monitored CPU clock speeds and can see that they were locked to maximum when an app I specified was running in the foreground, however on the Honor 10 the CPU speed is not locked at maximum, and will fluctuate.
After doing some testing, it seems that none of the stock settings from the xml file were having any effect either, even on an unmodified device. PowerGenie was also not running at all in the background.
Could someone else test to see if PowerGenie is functional on EMUI 8.1 for Honor 10, or has it been disabled for all devices for some reason?
Edit:
Apps like Kernel Tasker also have zero effect on CPU speeds, slider values are being ignored and the system just clocks them at whatever value it wants.
Update:
It's now working. I'm not sure what made it functional again, but it works. The last thing I did before it started working was change screen resolution from "Smart" to "FHD+", but I'm not sure if that's the cause.
Project Pixel 1.0
What is Project Pixel?
Project Pixel is a small team of developers that work on porting most, if not all of the Google Pixel features to stock firmwares.
We mostly specialize in Stock Samsung Firmwares, although we may do work on ports of OneUi once in a while. Our objective is to deliver the best performance by using stock firmware whilst also improving upon it by debloating and tweaking whilst also giving you all the features of a Pixel device.
Pixel Pie 1.0 Feature List:
1. AdAway
2. Deep Debloat and DeKnoxed (Apps, permissions, framework, unnecessary features-stripped and removed)
3. Dolby Atmos with Correct Tuning and Gain (Main Speaker has most power and Earpiece just adds detail and treble)
4. Eleven Music (Lineage OS 15.1)
5. Files GO (File Manager)
6. GCam (Note: GCam might not work on all devices, because of hardware compatibility) 8.3 (HDR+)
7. Google Calculator
8. Google Calendar
9. Google Chrome
10. Google Clock
11. Google Contacts
12. Google Keep (With Handwriting Libs)
13. Google Lens (Works within Google Photos and Recents in Pixel Launcher)
14. Google Messages
15. GPay (Working Payment Method along with NFC functionality)
16. Google Phone
17. Google Pie Emojis (Not Samsung Ones)
18. Google Play Games
19. Google Tasks
20. GBoard
21. Mtweaks (Has Hardware Control - Similar to Kernel Adiutor but more tailored to Exynos)
22. Pixel Fonts
23. Pixel 3 Boot Animation
24. Pixel 3 Live Wallpapers with Normal Wallpapers
25. Pixel Google Photos (Free Original Quality Storage)
26. Pixel Module V1 - Pixel Animations, framework and configs.
27. Pixel Launcher with new recent menu
28. Pixel Sounds
29. Samsung Digital Wellbeing
30. Samsung App Lock
31. Samsung Gallery (Stripped Down and lightened to improve performance)
32. Samsung's Stock Camera with HDR parameter changes, debloated and additional video modes (4k30 at HDR- Not Fully Tested)
33. SystemUI Tuner (Provides battery stats along with other useful customiztions - Check QS icons and add it to QS Panel to view)
34. VoLTE Supported
35. YouTube Vanced (Ad-free Youtube)
CHANGELOG 1.0:
1. Initial Release
Bugs:
1. Smart Capture Screen Write with SPen causes a FC
Notes:
1. To view Battery Stats and Storage, pull down the Quick Settings Panel and on the top right click the three bubbles button and then Button Order. Then move the new Battery and Storage icon to the Quick Settings.
2. Make sure you set Google Phone as your default phone app. Go-to Settings/Apps. Click the three dots in the top right corner. Then click default apps. Then Calling App and select Phone.
3. After first boot, reboot your device once to ensure dalvik optimization.
INSTALL INSTRUCTIONS:
1. Download the zip and download the latest Magisk (ROM will not boot if Magisk is not flashed due to encryption procedures)
2. Wipe System, Data, Dalvik Cache and Cache
3. Flash the zip and flash Magisk.
Download Link and Sources:
Magisk: https://github.com/topjohnwu/Magisk/releases
Download Link 1.0 : https://drive.google.com/open?id=1us-MNGq4fRwSOId74lpiGgHk81muB9Cm
Kernel Source : http://source.samsung.com/
Credits:
Google for Android and Framework
Samsung For Their Kernel
@msohail_7 (GCam 8.3)
Check the screenshots tab to see screenshots of the ROM in action.
XDA:DevDB Information
Project Pixel P, ROM for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
Skulldron
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Latest Bootloader And Modem
Based On: OneUI
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2019-06-28
Created 2019-03-02
Last Updated 2019-06-29
Reserved
Is this rom fully deknoxed?
Logan991x said:
Is this rom fully deknoxed?
Click to expand...
Click to collapse
Yes and read OP please.
This ROM is awesome. It is pretty stable too. The boot logo is not very appealing. I will keep using it. No bug so far.
Emma James said:
This ROM is awesome. It is pretty stable too. The boot logo is not very appealing. I will keep using it. No bug so far.
Click to expand...
Click to collapse
I have found one issue, with the phone app. When I try to call someone it doesn't show the call being forwarded,so you can't end the call. And When I am called I can't pick up since there is no prompt for accepting or rejecting call. A problem with the Google dialer maybe.
Emma James said:
I have found one issue, with the phone app. When I try to call someone it doesn't show the call being forwarded,so you can't end the call. And When I am called I can't pick up since there is no prompt for accepting or rejecting call. A problem with the Google dialer maybe.
Click to expand...
Click to collapse
You must set up Google dialer like default app in the settings... I had same problem on lineage os
Dual sim work?
Sent from my SM-N950F using Tapatalk
google dialler
Fishcat7 said:
You must set up Google dialer like default app in the settings... I had same problem on lineage os
Click to expand...
Click to collapse
me too just altered and everything fine now.
---------- Post added at 04:11 PM ---------- Previous post was at 04:07 PM ----------
love the rom downloaded it last night and I must say my note 8 is far faster and smoother.
Hallo, this rom is okey for daily use?
I use a lot my phone at work.
rom for daily use
Unreal12 said:
Hallo, this rom is okey for daily use?
I use a lot my phone at work.
Click to expand...
Click to collapse
I ve been using it since last night. receiving texts emails and phone calls, its worth the effort . its a lovely rom.
The battery is pretty terrible, it cant charge while playing, it was draining while charhing so fast, i ofc did a clean install, camera app fails a lot as well, and you cant set every live wallpaper from pixel wallpaper changer it force closes.. i hope in the future you can fix these the rom felt smooth until i started playing games and noticed it wasnt charging while playing..
Hi Dev.
I wiped my data and installed your rom. Everything was perfect. But the galaxy wearable app was force closing.
Could you please help me to solve this problem.
Best regards
ZyroKewl said:
The battery is pretty terrible, it cant charge while playing, it was draining while charhing so fast, i ofc did a clean install, camera app fails a lot as well, and you cant set every live wallpaper from pixel wallpaper changer it force closes.. i hope in the future you can fix these the rom felt smooth until i started playing games and noticed it wasnt charging while playing..
Click to expand...
Click to collapse
Wait what XD. Never experienced this bug. Maybe a charging cable issue? Also, there are two cameras included. GCam isn't as stable as stock by a long shot, so use stock if GCam crashes too much.
Also abt Gear Wearable. Since I extensively debloated this ROM, it is possible I removed something that I shouldn't have. Not to worry, I will release an update next month (Not now because of exams)
Skulldron said:
Wait what XD. Never experienced this bug. Maybe a charging cable issue? Also, there are two cameras included. GCam isn't as stable as stock by a long shot, so use stock if GCam crashes too much.
Also abt Gear Wearable. Since I extensively debloated this ROM, it is possible I removed something that I shouldn't have. Not to worry, I will release an update next month (Not now because of exams)
Click to expand...
Click to collapse
Im back on my old 9.0 rom and everything is working just fine, i dont know what the issue was here, but ill check the update when its ready thanks!
Please add Adapt Sound feature if possible in a future build.
Fast, smooth and stable rom. But it has really bad battery usage. The older one(teampixel oreo) vas great at battery usage.
Also i can't find the "Power saving mode". There is no toggle in notification bar and i cant find a way to enable it in settings menu. Anyyone know is it possible to use Power saving mode on this rom?
Estargeus said:
Fast, smooth and stable rom. But it has really bad battery usage. The older one(teampixel oreo) vas great at battery usage.
Also i can't find the "Power saving mode". There is no toggle in notification bar and i cant find a way to enable it in settings menu. Anyyone know is it possible to use Power saving mode on this rom?
Click to expand...
Click to collapse
Hello! The reason battery life was significantly better on Oreo was due to Oreo having a fully working Phantom Kernel! At this point, I'm just waiting for an update to that kernel, so that I can incorporate it, into the ROM, along with adapt sound, Dual Messenger, Gear 360 bug fix and Screen Write (Samsung Capture) since that it the only "useful" Note Feature that can't just be simply added back. I'll also be incorporating a few tweaks here and there to improve performance where possible! Keep an eye out for V1.1
just flashed phantom kernel v2 all ok
reservation31 said:
just flashed phantom kernel v2 all ok
Click to expand...
Click to collapse
How about the rom some important bug
Enviado desde mi SM-N950F mediante Tapatalk
It is my first time consulting in XDA apologies for any errors in advance. My query is if there is something that can be used to replace Game Tuner, in Android Pie it does not work anymore and it lacks the option to improve the Hardware Performance. Using an S8 + and in games is like using an S4 for current games without Game Tuner, the performance is really bad. Apart from the option to go back to Android Oreo, is there any way to improve the performance of Hardware?:confuso::Rodar los ojos::llorando: