[Q] AMOLED On-Screen Notification? - Android Software/Hacking General [Developers Only]

It is my understanding that AMOLED screens consume no power for pixels that are set to black. It is also my understanding that phones are being released without a notification light on them (such as the Nexus S). It is also my understanding that Android phones expect to spend some time in the Idle state and do various update tasks, reduce overall power consumption etc. while in such a state so not allowing them to ever idle would not be a solution for any problem.
Assuming my above understanding is correct, how difficult would it be to make a change to Android such that notification information could be displayed on-screen in a few pixels (say, in the center of the screen) so that the majority of the screen is consuming no power (black pixels) but you still have a few colored pixels for notifications. These pixels could be set to black when there are no notifications so that the small power they do consume is only used when a notification needs attention.
A step beyond this would be to create an interface that would allow other developers to create various themed idle screens that would be customizable by the user, or at least by a variety of developers. This may be as simple as changing the colors, rate of flashing (if any), number of notification pixels used, etc. Also, different apps could notify in different parts of the screen to give further feedback as to what needs attention without having to touch your phone (just a quick glance).
My background is that of a C++ Software developer who has dabbled a bit in Android, writing various small apps for it. I have never worked with the OS itself before so I am uncertain if this would be a trivial task or a very complex one. Perhaps it is even something that could be done without any OS changes (though to my understanding this is not the case).

Check this thread/app: http://forum.xda-developers.com/showthread.php?t=730692
Sent from my GT-I9000 using XDA App

Related

Lower backlight

I've looked around and haven't found much, hopefully my Google skills aren't weak.
Other than using a screen dinner app, is there a way to actually decrease the backlight further? I can do some more complicated stuff like decompiling apks and what not. I just don't know if there's a way to make the range of auto brightness much lower.
I use my phone a lot at night, and turning the screen on is like getting punched in the eyes, andwhile I'm using it I feel my eyes strained.
Sent from my SAMSUNG-SGH-I727 using xda premium
try an app called lux. Its not free, but it did wonders for my battery life
Another option is JuiceDefender Ultimate... you can tweak the response curve to obtain lower brightness levels in low light conditions... it has a ton of options.
free app called screen filter, does what juice defender does, but its free. and it goes REALLY low .... to the point you will see "blots" of dots on the screen
fongz27 said:
free app called screen filter, does what juice defender does, but its free. and it goes REALLY low .... to the point you will see "blots" of dots on the screen
Click to expand...
Click to collapse
Screen Filter just puts a filter over what your phone is displaying instead of actually physically lowering the backlight. It makes things look odd (to me) and it doesn't actually do anything for battery life unless I'm mistaken.
I mean something that actually allows you to lower the backlight further.
technically speaking becuz it's putting a software overlay on, the phone physically uses less power, so they do work. You lose some contrast between certain greys and farms though. I highly recommend u look into the "Lux" paid app I was telling u about. Its the way auto brightness should be, with user accessible custom config. The author is so good that if at anytime u decide the software isn't for u, u get a full refund, no questions asked, even if its a month after, let alone a couple minutes past the 15 min return period
icenight89 said:
technically speaking becuz it's putting a software overlay on, the phone physically uses less power, so they do work. You lose some contrast between certain greys and farms though. I highly recommend u look into the "Lux" paid app I was telling u about. Its the way auto brightness should be, with user accessible custom config. The author is so good that if at anytime u decide the software isn't for u, u get a full refund, no questions asked, even if its a month after, let alone a couple minutes past the 15 min return period
Click to expand...
Click to collapse
I'm not sure what you meant by becuz it's putting a software overlay.
I have realized that having the screen darker (even just displaying a darker image, like what Screen Filter does) uses less power because of the way that our screen works. On an LCD screen however, it would actually use more power.
I'm trying lux out right now, it seems promising.
when you use the term "physically" i take it as you want a PHYSICAL mod to the phone; good luck with that. Screen filter does me just fine, it does the same effect as many other "battery savers" do.
any apks, apps, etc are all SOFTWARE mod to the display screen / brightness. You are venturing into a world of unknown if the apps aren't appealing to your taste.
Keep in mind, the SR is S AMOLED, not just a regular LED / LCD display.
fongz27 said:
when you use the term "physically" i take it as you want a PHYSICAL mod to the phone; good luck with that. Screen filter does me just fine, it does the same effect as many other "battery savers" do.
any apks, apps, etc are all SOFTWARE mod to the display screen / brightness. You are venturing into a world of unknown if the apps aren't appealing to your taste.
Keep in mind, the SR is S AMOLED, not just a regular LED / LCD display.
Click to expand...
Click to collapse
No. By physically lowering the brightness of the backlight I meant that....well the intensity of the backlight is actually physically lower as opposed to seeing everything through a grey mist (how I see the screen filter thing).
Also, try to contribute to the purpose of this thread instead of insisting screen filter is good when I've specified that's not the solution I'm looking for.
Speaking of useful contributions to the thread..
Lux is really nice. I like it. I can't tell if the sub zero brightness is the backlight actually being PHYSICALLY (by means of software, don't worry) less bright or if it is using a filter where I just can't tell. Either way, if I can't tell then it's not bugging me. Thanks for the tip, after a day of setting it up and whatnot it's really nice.
Sent from my SAMSUNG-SGH-I727 using xda premium
.uhm.... don't be decieved by the name "screen filter" ; that is just the given name; the method of adjusting brightness remains the same as many other "filters" and "brightness" controllers.
Searched "lux" on the market and a lot of them have poor reviews, screen filter has over 9,000 5-star reviews so I'm pretty sure it's working...
You try screen filter and drop that "filter" below 20%; so if it's not the "brightness" being adjusted? what is being adjusted? color? gamma? contrast? sharpness? color intensity?
Again, I'll let the reviews speak for themselves; my main point is, SOFTWARE = SOFTWARE. Android is the system; the software manipulates the settings of the system... so unless Lux is somehow hacking unknown system values / physical hardware, software = software.
Another vote for screen filter by me. Period.
fongz27 said:
.uhm.... don't be decieved by the name "screen filter" ; that is just the given name; the method of adjusting brightness remains the same as many other "filters" and "brightness" controllers.
Searched "lux" on the market and a lot of them have poor reviews, screen filter has over 9,000 5-star reviews so I'm pretty sure it's working...
You try screen filter and drop that "filter" below 20%; so if it's not the "brightness" being adjusted? what is being adjusted? color? gamma? contrast? sharpness? color intensity?
Again, I'll let the reviews speak for themselves; my main point is, SOFTWARE = SOFTWARE. Android is the system; the software manipulates the settings of the system... so unless Lux is somehow hacking unknown system values / physical hardware, software = software.
Click to expand...
Click to collapse
I'm glad that you are using the reviews for random apps with the name lux in them as grounds for proving your point. Just in case if you care (which I doubt given your hostility) the app that I'm using is Lux Auto Brightness. Very nice.
Oh, and don't worry. The reviews give it a 4.4, not as good as screen filter but that doesn't seem to me to fall under 'poor reviews'.
Again, I wanted to lower the BACKLIGHT. Which, in turn, means a lower brightness. I wanted an app that would allow me to decrease the physical brightness of the backlight. How can you not understand this? Screen Filter does not do this, it puts a filter over the screen.
It even says, right in the description for Screen Filter "Applies a shade that acts as a dimmer to ensure your eyes don't hurt."
That is NOT WHAT I WANT.
Lux Auto Brightness actually does what I wanted - it allowed me to lower the backlight even further, making my phone less bright WITHOUT putting a filter/shade/softwarewhatever over the STDOUT. Goodness.
Also, thank you for specifying that software = software, I have no idea what kind of mess I would have gotten into without knowing that.

Increase Smart Phone Battery Life

Hi, firstly I'm sorry my english is a little bad )
Did you even harder to charge your smartphone is based on the first day? Here are tips that you fully based. Get away from the stress of the outside end charging of battery life and increase your phone.
1 - Home Screen Wallpaper and Theme you are using:
If you are using a smart phone with AMOLED screen, predominantly black wallpaper should be preferred. AMOLED technology while light colors such as white because it consume more power. LCD and SLCD screens, such a situation is not in question.
My suggestion is not to use an animated wallpaper for Android users in particular. Animated wallpaper, using the phone's hardware more. This is going to have to consume more power than the components.
Android users should note also displays add to the widgets. Widgets are always synchronized with the running and intense 3D graphics, as well as the equipment used for the data connection şarjınızı effects shot.
2 - Display Lighting:
It is best to leave the automatic setting of this area.
But I do not like to remain on automatic. If you need to talk I'm being honest, I always light at the highest level. Because all the ingredients here, and it will not have to perform the charging period will be longer.
But I do not want to go up to the maximum number of days gidebilecekse say it, my proposal is worthwhile to listen to. Big and wide screens of smartphones, especially in the light of day very well read. Do not force the phone to the light a little bit, then move to a higher level.
But it starts to get dark, shine your light, especially in the evening turn down the screen. Smart phones display lights to a minimum, even offers sufficient light in the evening. This is an effective tactic.
3 - Wireless Connections:
Smart phones are undoubtedly the most power-consuming units, wireless connections. WiFi, Bluetooth, GPS and 3G that are overviewed, 3G and GPS fully charge the enemy.
According to their attempts, with the closure of all wireless connections between all of them to be open to play at least half a day I've noticed.
For example, turn off the GPS. Only helpful both when business is active. Shortcuts available in Android and Symbian Belle. The option to turn on and off in a practical way. We also do not walk Bluetooth is on. It is also charged unnecessarily waste.
A clear grasp of 3G and WiFi when it is, let's not say conect. When connecting to open it. If you say'm going to necessarily turn off syncing on Android.
Sync / Sync, for a certain period of time it şarjınıza negative effect on the data are drawn. When you use the most sense to synchronize.
4 - Your RAM (temporary memory) Operate the program free to leave and at the bottom:
Most are at fault here. If you open up the application on the phone and waiting at the bottom. E, the processor is running at full speed all the time. The conclusion is obvious.
And then they were going at the charge of the phone as well as the complaints are coming slowly. Take a notebook and a lot of that time in the program's run, so let's wait. Let's see what is going to charge?
There are applications for the program terminates, especially Android. But most of these applications 24/7 has an adverse effect charging them for trying.
I would recommend this program to Android users. Download this app. Click on the widget closes all running applications. However, if you open the program by clicking the icon, you can see and what you want Implementations running off. I would recommend this method.
When you close all the system applications to open them again, the power turns off, and then spends the processor. Here you can download the program[/URL]
5 - Efficiently Manage Your Smart Phone Processor:
This section applies to users Root'lu. Root evaded users have this right, they do not die. Linux-based smartphones, especially those driven into exile in the market with a certain processor speed settings.
In general, the phones are set to OnDemand, the processor can adjust the speed according to the amount of use. For example, a 1 GHz processor that the phone does not work all the time at 1 GHz.
Their phone for the sake of example, a 1 GHz - 265 MHz range is running. I changed speeds. If you charge the phone and the maximum to withstand reduced from 500 to 128 can do. But later in your job will be completed on the processor to use 100% of himself. This will mean that the screen backlight to stay on and wait for you. I mean, at least let it charge the struggle, suffering Pull spend more charge.
I phone 1190 - 450 range using the. I can do my work as well as installing and getting faster. Charging time is important, 1190 - 128 range I choose.
Forget! Reduce the processor speed on the phone, when trading amplify şarjınızı. Because it is trying to slow the processor 100% to use and work will be completed on your screen light will stay open late.
6 - When charging the phone's battery Full Fill:
Do not say we already have would remove 100% charge to fill it. Phone software does not fully charge the battery. Leaves a certain margin of tolerance. Here we also benefit by it. In particular I saw that HTC Desire'da tried and successful. Each company's share of each model, it will not stop. But you can be on your left. Does not hurt to try.
Explaining the steps for:
-Phone up to 100% of full charge.
-Turn off the phone, remove and charge the phone.
-Install and charge the phone again, wait until bekleyebildiğiniz. (1-3 hours)
-Turn your phone into the phone, and remove the charge.
-Wait for your phone to do nothing between 2-5 minutes after opening. (Not attached to Sharjah)
-Turn off your phone again and again for at least half an hour into charging.
Remove and use the phone in the normal-charging. The procedure is finished.
This method has been calibrated with the battery is charging and fully. Enough to do this once. And then he goes to full charge.
7 - Special Edition Operating Systems Aim for:
Android users who root for in this Article. Made by the manufacturers of Android devices, phone skins, chargers doing negative effect on life.
TouchWiz, Sense interfaces, such as, the system is more tiring, as they lower the charge time. So we have the benefit of using a pure version of Android.
With pure Android versions like CyanogenMod custom Android versions sure to use similar interfaces. The term of charge with a very stretched. Will be surprised.
Of course, I do not recommend this method to anyone. Aware of the change and the risk of all the phone's Android software will recommend it to our readers.
Suggestions useful to you?
Thanks!!! i will follow these tips :good:

[APP][4.1+] Save your battery power with Pixel Battery Saver (Pixel Overlay App)

Hi!
At the beggining - I'm sorry if you won't understand something. English isn't my main language, I still learn.
In some smartphones with AMOLED screen (such as Samsung Galaxy S4) black pixel = turned off pixel.
I've always been irritated because of the fact that our batteries aren't too great, but phone producers still produce their phones with hiper-resolution, which practically we cannot even see.
I have invented something, that later I turned to real app.
I call it Pixel Battery Saver, because it displays some kind of totally black mesh on the screen (you can change its density), so at least half of the pixels (or more) are turned off (so the screen consumes less energy!), while you are still able to read anything on your screen.
If you still don't understand, just take a look at the screenshots.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've already created this app.
You may download and test it for free,
but if you really appreciate my work - I would be grateful for every donation (every single dollar would be helpful).
Let me know if you found any annoying bug or misspelling. This is my very first app - I still learn
FAQ:
What do I need this for?
- Imagine this situation - your battery level is really low, but you have to search for something important on the Internet. Making the brightness lower often isn't enough. That's when you would need my app - to turn off some count of pixels.
There are lots of apps that dim the screen...?
- This app works different. It doesn't overlay your screen with transparent image (but there is such option in premium version if you need it too). It overlays your screen with totally black screen, which makes some count of pixels off, to prevent them from consuming battery.
Do I really need AMOLED screen?
- The best results you can get right with AMOLED screen, where black pixel means turned off pixel. However, even in other type screens black pixels are saving some battery, so it's just worth to check.
In battery stats I can see that this app consumes a lot of energy. Why?
- Don't look at the stats, look at the real battery consumption. Probably, Android Battery Stats app "thinks", that this app display an image on the screen all the time, because of what it shows an information about consuming energy. In fact, this app turns OFF the pixels (in AMOLED screens with this function), so it SAVES that energy, not consumes.
When the mesh is on, I am unable to install apps (Install button is disabled). WTH?
- That's because of the Android Security. In premium version of Pixel Battery Saver I added an option to bypass this protection. In this free version you can simply turn off the app (by clicking "Turn off" button in Settings window) before installing any app and then turn on it again.
Density of the mesh that I recommend is "High".
Changelog in post #2.
Download: Google Play
Always use the latest version with fixed bugs and new options.
[CHANGELOG]
v1.3 (coming next month):
- new option to automatically start service at specific battery level
- hidden notification icon
- option to detect package installer to prevent its bug (stops mesh activity when you're installing new app and starts it again when it's done)
- new option to dim the screen (useful at night)
- small fixes
v1.2.1:
- fixed doubled mesh after reboot (black screen)
- fixed unnecessary scrolling to the bottom ad
v1.2:
- quickly show/hide the mesh with notification action
- Ads. Sorry =)
v1.1.1:
- shortcut to the donation page
v1.1:
- new option to automatically start service on boot
- small bugfixes
[TO DO]
- Widget
- Overlay bottom navigation bar too
[KNOWN BUGS]
- I can't install any app (unable to tap Install button)
> This bug is fixed in version 1.3 (added new option to prevent this)
- The bottom navigation bar (with back, home and recent apps buttons) isn't overlayed
> I know about this, I will fix it in the future
disip said:
So, the question is - is anyone able to create an app like this?
Click to expand...
Click to collapse
There are a couple of issues with the concept as you've outlined it.
1) Turning off 50% of the screen you make small text unreadable. Even in your example the not so tiny temperature values are illegible.
2) While this would definitely conserve power in terms of physically lighting the screen, it might not be by as much as you'd think. The screen has multiple power sucking components. The first is the light producing LED's. Turning half of them off saves half the power. Simple math
. But the GPU that processes the screen imaging still runs at full speed even if the screen is blank. While the LED pixels aren't working, the GPU is still working to render a black image. So turning off half the pixels doesn't reduce the power draw required to run the entire display to 50% in total.
3) The app that overlays the black mesh will require the GPU to work overtime. It's got to render the image that's supposed to be in the screen plus it's got to render the black mesh over the native image. That could potentially use up more energy rendering the black than the black saves by not lighting the pixels.
4) The already built in option is to just turn the screen brightness down 50%. It accomplishes the same goal, requires no additional image rendering, and preserves the original image design without loss.
Skipjacks said:
There are a couple of issues with the concept as you've outlined it.
1) Turning off 50% of the screen you make small text unreadable. Even in your example the not so tiny temperature values are illegible.
2) While this would definitely conserve power in terms of physically lighting the screen, it might not be by as much as you'd think. The screen has multiple power sucking components. The first is the light producing LED's. Turning half of them off saves half the power. Simple math
. But the GPU that processes the screen imaging still runs at full speed even if the screen is blank. While the LED pixels aren't working, the GPU is still working to render a black image. So turning off half the pixels doesn't reduce the power draw required to run the entire display to 50% in total.
3) The app that overlays the black mesh will require the GPU to work overtime. It's got to render the image that's supposed to be in the screen plus it's got to render the black mesh over the native image. That could potentially use up more energy rendering the black than the black saves by not lighting the pixels.
4) The already built in option is to just turn the screen brightness down 50%. It accomplishes the same goal, requires no additional image rendering, and preserves the original image design without loss.
Click to expand...
Click to collapse
1) Why do you think so? As you can see on my image, it doesn't make the text unreadable (if the "mesh" is pixel-by-pixel)
2) Right, but everyone know that black-layout apps are muc better for our battery than colorful or white, right because black screen isn't that "hungry" of power
3) Ok, but there are lots of apps that creates a full-screen black (transparent) overlay to make the screen more "shade" (dim?) to save the power. It works, even thou all the thing you described in #3
4) Oh, right, but when my energy power is really low, I turn the screen brightness to the lowest level, but it still consumes a LOT of energy.
Anyway! This discussion isn't even important, maybe we should just CHECK if this may work, or if not?
But, as I said, I am just asking someone to create a simple app like this.
Thanks anyway for reply.
Really? No one?
disip said:
Really? No one?
Click to expand...
Click to collapse
it's not worth in my opinion, while rendering half of the screen black would help save some battery, the saving wouldn't be so great, yes the screen is what burns the most battery on android but, its not just having it on, its having the phone out of deep sleep, having the touch sensor activated and registering touches, etc, not to mention it would just kill the great viewing experience that the phone offers.
-Ric- said:
it's not worth in my opinion, while rendering half of the screen black would help save some battery, the saving wouldn't be so great, yes the screen is what burns the most battery on android but, its not just having it on, its having the phone out of deep sleep, having the touch sensor activated and registering touches, etc, not to mention it would just kill the great viewing experience that the phone offers.
Click to expand...
Click to collapse
Though when we are using our phones it has to render the whole screen anyway, so I think rendering a half of it would be better?
I am not thinking about this app making our screen always on. I just mean to display this mesh when we are using our phones and the battery level is low.
And, of course, it would kill the viewing experience, but when your battery level is 5% and you have to do some important research on the internet - you don't care about the viewing experience.
If you think turning the pixels on is not the thing that consumes the most of the battery, then turn the brightness to the highest level and then to the lowest and see how much it consumes... (changing the brightness doesn't change anything with the touch sensor and other thing you described though)
I thought my idea is really simple to develop for any Android developer and to see if it really works...
I think that if you do some comprehensive tests, you could bring some attention.
Create one image with this pattern, put on your phone and open it with any image viewer, put the bright on max. Let it run for some time.... Measure how much battery was sucked.... Test again with the same image, but without the pattern, do some statistics with the results.
Are you rooted? You could invert screen color or make it grayscale.
That's exactly what I was thinking about. I will do this tomorrow.
I'll post my quick opinion. It really depends on how the phone handles the screen, but my experience is from my old Galaxy S2 with NoLED running over night. I think NoLED program was essentially accomplishing what you are proposing (i.e. rest of screen is "off" or black) and on portion of the screen is on for the LED to hop around. However, even though the screen was black the screen was still draining at a quite high rate (~6%/hr on average). The screen needs to be "off" not just black in order to save more power.
But having stated the above, I am looking forward to your test results to compare and determine if it can save more battery.
liquidzyklon said:
I'll post my quick opinion. It really depends on how the phone handles the screen, but my experience is from my old Galaxy S2 with NoLED running over night. I think NoLED program was essentially accomplishing what you are proposing (i.e. rest of screen is "off" or black) and on portion of the screen is on for the LED to hop around. However, even though the screen was black the screen was still draining at a quite high rate (~6%/hr on average). The screen needs to be "off" not just black in order to save more power.
But having stated the above, I am looking forward to your test results to compare and determine if it can save more battery.
Click to expand...
Click to collapse
Thanks for your opinion, but the screen in s2 is way different than on s4. The screen in s2 doesn't turn off the black pixels. The one in s4 does.
II am looking forward to do this test tomorrow
I think this would be like a filter app, such as the found in Play Store.
Exactly. I was talking about it but I forgot the name. I next hour I will do some tests.
Ok, thread can be closed - I've created this app by my own. I mean, I used many of tutorials and examples, and finally got it. Thanks anyway.
Could you share your findings?
This would be pretty hard, as I have read dozens of sites and forums to understand everything. There wasn't any quick or simple solution.
Did it work and save as much battery as you expected?
leodfs said:
Did it work and save as much battery as you expected?
Click to expand...
Click to collapse
I still do not know, I have to test it multiple times to be sure.
Ok. I think it really works, but I'm still not sure. Give me few days to share the alpha version of my app (I just want to add some extra functions).
By the way, does anyone know where should I look for a list of phones with screens like in S4? I mean where the black pixel means it's off.
disip said:
Ok. I think it really works, but I'm still not sure. Give me few days to share the alpha version of my app (I just want to add some extra functions).
By the way, does anyone know where should I look for a list of phones with screens like in S4? I mean where the black pixel means it's off.
Click to expand...
Click to collapse
Here's a list of some recent ones. Pretty sure the Moto X has one as well.
http://www.oled-info.com/oled_devices/mobile_phones

[How –To ] AMOLED SCREENS: Evidence of battery savings using black ,bright wall paper

EDIT: Please jump to post 4 for updated test results . Come back to this post for why this thread
There are umpteen threads on battery saving tips / methods and a few on AMOLED screens and battery savings. So why a new thread, could be the Question
Because
1.Battery saving means are meaningful if backed by numbers, else it’s subjective
2.Tests below were done on N7100, but given the popularity of AMOLED (two dozen and counting per Wikipedia), across cell phones and tabs, this may be interest to battery freaks and hence posting in general section rather than N7100 threads
3.Provide a replicable methodology of testing on your AMOLED device (rooted) both manually and automated. There are threads on XDA as well that suggest testing methodology but have not come up with easy testing methods and automating it unless I missed
I am NOT a qualified guy to understand the technical details of testing screen power nor of the methods/ apps used. There is enough material on the net to show how complex it is and savings using using dark screens vary from 18 to 41 %. IMHO, the jury is out and appears to be taking a long break
All I have done is put together various pieces to show a way of testing it and come up with results that are indicative and demonstrate trend lines.
Also the apps chosen for testing is not be misconstrued as canvassing for them.
There may be better ways of doing this test using other apps or better testing ways, which you are welcome to share here.
Test Device Configuration
GT-N7100 (t03g), ROM- Deep Impact (Morph variant) (Kitkat) by @Sammy_052
Kernel Agni- 3.0.101-India-v4.4.2-OC-INTL-STOCK_HYBRID-KitKat
Apps Used for testing
3C Tool Box Pro: Has a nice feature showing screen consumption in mAh (though on devices like mine which don’t have a current sensor, it is derived from battery drain percentage). Plus, it has the advantage of modules that can be accessed and test automated. Immense thanks to @3c , developer, who helped a ton
Darker : Screen Filter that was thoughtfully provided in the ROM. Free version allows darkening up to 50% as used for test
Stay Alive : To keep the screen alive for two hours (being the test duration), since the maximum screen time out is limited to 10 minutes in KitKat. 3C Toolbox offers a way of choosing apps , which keep screen on, as long as apps are kept in foreground. For some reason, this did not work with Nova Launcher as chosen app, hence the need for a different app. There are many free apps on Play Store with similar functionality and may be used after testing that they do not impact 3C
MacroDroid : To automate the test process. This is by @UndeadCretin and is a great tool to automate without a steep learning curve. The aim of click starting the test and getting results in mail box has been achieved (barring manual intervention in the first minute of starting the test) . The macro used for this is posted on the app thread. This macro can be easily tweaked and battery bugs can have a field day trying things like Live wall paper, under volting/over volting and altering CPU / GPU frequencies to see impact on power
Broad test Methodology (details later in thread)
Screen power usage was tested in 3 cases. Cell was kept in airplane mode to get cleaner results (optional) and Stay Alive used to keep the screen on for two hours ( targeting to get a drop of 10% battery level) for each test.
Case 1: Bright wall paper
Case 2: Bright wall paper with screen filter
Case 3: Solid black wall paper
Results of Testing ( files attached )
Case 1: Bright wall paper: Screen consumption is 195 mAh
Case 2: Bright wall paper with screen filter: Screen consumption is 189 mAh
Case 3: Solid black wall paper: Screen consumption is 172 mAh
Conclusions
1. Using a solid black wall paper as compared to bright wall paper shows 11 % savings.
2.Using a screen filter on bright wall paper shows very little savings 3% . Was surprised at this result and repeated the test and the results were practically same. This disputes the accepted belief that screen filters save power but is savings as low as this?
Internet reports savings from 18% to 40% by using black screen as compared to 11 % above, am guessing are due to a bunch of reasons, like testing methods, screen size, age of device, device to device variations, ROM, kernel settings, GPU/CPU voltage and frequency to name a few at device level .At next level, is the apps used, usage pattern of phone, algorithms used for dimming the phone and many more.
Testing as above is not real life. To carry out real life testing, ideally one would need to replicate activites for a fixed duration like calling, texting, browsing, watching stored video, on line music / video. I have not come across any app or way of doing this and would be happy to give it a shot, if someone can suggest a simple way
Detailed Test Instructions - To provide consistent testing environment and get clean results
1.Disable scheduled running of apps during the test and Greenify
2.Set the wall paper which you want to test and ensure sufficient battery
3.Run Stay Alive and use the second icon (red one) in the notification bar
4.Run Darker at your preferred settings for tests with screen filter
5.3C settings ( Thanks to @3c )
a)Settings>Recorder>Continuous recording enabled
b)Settings>Recorder>Time frame and Rate- depending on how long (maximum) you want to test and how frequently you want data to be updated, choose appropriate option . I used 12 hours, 10 minutes
c)Settings>Battery>Monitoring> mA retrieval method (if your device is listed choose, For Samsung devices, on enhanced estimated or estimated on the other side is pretty stable and the same for all devices, but often slower to update.
d)Settings>Battery>Monitoring>Estimate, use estimates drain, or if your device has a current sensor and reliably works choose use current sensor
6.Create shortcuts on home screen for battery statistics module of 3C using 3C widget
7.Start the test and go to markers tab and set the marker. You can create markers from the action bar or from history tab long pressing a record. Markers shows average consumption, be it mA or %/h (tap the value to switch). Min/max shows the range for the % or mV. Remember to show full history (not just % changes) by long-pressing the options and tapping “full history”.
8.Time the test and take screen shot of markers results
9.Repeat test for different cases
Looking forward to your views
Nice
Wow, this is a totally put together review. AmoLED screens save a lot of power on black, unlike LCD backed by light from LED where the entire screen needs to be on at all times when the screen is displaying anything. LED screens do not have a back light to support them in producing light. The individual pixels themselves produce the light. Hence if part of the screen is black, it means that, that part of the screen is off.
I had thought this through when making the rom in the first place and hence was the need in keeping all the elements either complete black or white. But samsung as a company decided to go away from this beautifying and practical aspect and the later phones have begun shipping with rather different set of colors.
Sammy_052 said:
Wow, this is a totally put together review. AmoLED screens save a lot of power on black, unlike LCD backed by light from LED where the entire screen needs to be on at all times when the screen is displaying anything. LED screens do not have a back light to support them in producing light. The individual pixels themselves produce the light. Hence if part of the screen is black, it means that, that part of the screen is off.
I had thought this through when making the rom in the first place and hence was the need in keeping all the elements either complete black or white. But samsung as a company decided to go away from this beautifying and practical aspect and the later phones have begun shipping with rather different set of colors.
Click to expand...
Click to collapse
Thanks for your view. It is fitting that you as ROM developer, included this aspect in your ROM and that is what triggered me thinking.
The test above is representative of a small portion of SOT, maybe around 10%. Real life usage is what needs to be measured and am searching for an app that can run fair amount of real life use cases. Only Antutu does something similar but requires user intervention to run. Ideal is auto play so that it can be automated through MacroDroid. Your thoughts around this are welcome
Sent from my GT-N7100 using XDA Free mobile app
Updated test results
So, i was stuck for long to do real life testing and it is done now !!!
A few major changes from the previous set up
1. ROM changed to wesam.othman v8 by @wesamothman
2. Better Battery Statistics (BBS) used in place of 3C Tool Box mainly because of ease of setting up and being more popular, eliminating process described in OP. But IMO, 3C Tool Box is far more versatile and powerful in studying battery usage
3. Most importantly, discovered Battery HD app (free) by Small Tech (https://play.google.com/store/apps/details?id=ch.smalltech.battery.free&hl=en). Very hand app and well designed. This app has on line calibration features using wifi browsing, streamning music and video. I wanted to extract these modules and incorporate in the macrodroid macro (part aim of this test is automation as mentioned in OP). Requested the developers and amazingly, they jumped in to help and created separate links for each of these modules so that i could call them in the macro to execute without any manual intervention. Extremely thankful to Santiago and Vadim of the team who made it possible :good:. Without their help, automation of this test could not have been possible. Thanks again !!!
Coming to the test , real life usage to the extent possible has been simulated except for gaming, calling , texts and social media apps. Test consits of 30 minutes of browsing, 15 minutes each of streaming music and video. Screen was kept on during the test duration and darker (screen filter) when used was set to 50%. Pics attached
Results
Case 1: Bright wall paper- Batterydrain was 10 %
Case 2: Bright wall paper with screen filter - Batterydrain was 9%
Case 3: Solid black wall paper - Batterydrain was 8%
So, this may be interpreted as- if you get 5 hours SOT for instance using a bright wall paper , you would have drained 50% of battery. But with using a screen filter on the bright wall paper, after 5 hours you would have used only 45% and the extra 5 % (over usage not using screen filter) would give you additonal 30 minutes of SOT !!!
And if you were using a solid balck wall paper instead, that would have given you an additional hour , making it 6 hours of SOT !!! ( Of course, this is assuming same usage and linear battery drain)
So, it is your choice, you can test it yourself
Happy battery life...cheers

Force navigation and status bar always visible

What I want:
Is there a way to keep the navigation bar with the buttons always visible, even when running full screen apps like games or watching videos? I want the the status bar and navigation bar to stay completely out of control of the app (ideally to be on completely black background which would look aesthetic on oled screens). The app can then use the middle of the screen with aspect ratio of 17:9 or 17.5:9 or whatever remains from the 18.5:9 aspect ratio.
My main reasons to do this:
1) I want the to see clock, notifications and status all the time without having to pull from top which i don't reach well due to too tall aspect ratio
2) I don't consider the top and the bottom to be a true screen real estate as the corners are rounded which means that if actual content extends until the top/bottom edge its corner are cut anyway (which could be even text).
3) I still want to be able to interact with the whole app screen but I don't reach the top edge very well with my thumb.
4) Most of the content is in 16:9 format but the screens these days are tall and ugly so I wouldn't lose on anything.
What I've tried:
1) Playing around with the option "Allow app to use full screen" which is not available on some apps supposedly optimised for full screen and which doesn't seem to be doing anything on a bunch of others.
2) Trying to use third party apps for alternative navigation bars which indeed are always visible but they are covering the content provided by the app which is even worse.
What I'm willing to do:
Install custom roms
Use root permissions
Xposed modules
Anything else which requires similar level of understanding of android
(If nothing else works, then spend some time modifying the codebase of android, although this would be completely new ground to me and would probably need some good pointers to start with)
(I just replaced my Oneplus2 which served me really well with Xiaomi 9T Pro, currently running MIUI, replacing it with Lineage as soon as Xiaomi gives me full rights to use my phone including the right to unlock the bootloader but based on my research it seems that this is not a device specific problem)
kaurr said:
What I want:
Is there a way to keep the navigation bar with the buttons always visible, even when running full screen apps like games or watching videos? I want the the status bar and navigation bar to stay completely out of control of the app (ideally to be on completely black background which would look aesthetic on oled screens). The app can then use the middle of the screen with aspect ratio of 17:9 or 17.5:9 or whatever remains from the 18.5:9 aspect ratio.
My main reasons to do this:
1) I want the to see clock, notifications and status all the time without having to pull from top which i don't reach well due to too tall aspect ratio
2) I don't consider the top and the bottom to be a true screen real estate as the corners are rounded which means that if actual content extends until the top/bottom edge its corner are cut anyway (which could be even text).
3) I still want to be able to interact with the whole app screen but I don't reach the top edge very well with my thumb.
4) Most of the content is in 16:9 format but the screens these days are tall and ugly so I wouldn't lose on anything.
What I've tried:
1) Playing around with the option "Allow app to use full screen" which is not available on some apps supposedly optimised for full screen and which doesn't seem to be doing anything on a bunch of others.
2) Trying to use third party apps for alternative navigation bars which indeed are always visible but they are covering the content provided by the app which is even worse.
What I'm willing to do:
Install custom roms
Use root permissions
Xposed modules
Anything else which requires similar level of understanding of android
(If nothing else works, then spend some time modifying the codebase of android, although this would be completely new ground to me and would probably need some good pointers to start with)
(I just replaced my Oneplus2 which served me really well with Xiaomi 9T Pro, currently running MIUI, replacing it with Lineage as soon as Xiaomi gives me full rights to use my phone including the right to unlock the bootloader but based on my research it seems that this is not a device specific problem)
Click to expand...
Click to collapse
Hey, I know that quite a time has passed, but have you ever been able to find a solution for this?

Categories

Resources