I would like to take the opportunity given by XDA forum and share with you my application, named "Total Screen Control".
I would be more than happy if I will receive through this thread opinions, features requests, bug fixes requests, new ideas, anything that could improve the application.
Thanks !
Total Screen Control
Total Screen Control is an application for setting the Brightness Level, Screen Filter, ScreenOn Lock and Rotation Lock preferences individually for any application installed on your phone.
Allows you to apply a filter that dims the brightness below minimum value so your eyes don't hurt during night viewing. Very useful in low light conditions especially on AMOLED screens where even the lowest brightness value is still bright. Also can save a lot of battery combined with ScreenOn Lock based on phone orientation!
More features:
- Screen Filter/Privacy with schedule and brightness slider for fine control !
- Dynamic Screen Filter based on phone's light sensor! Forget about classic auto-brightness, switch to Dynamic Screen Filter!
- Screen Filter Bar for easy and cool control of Filter dim
- ScreenOn Lock based on phone orientation! Keeps the screen on as long as you use your phone! SAVE BATTERY also!
- ScreenOn Lock, Brightness level and Rotation Lock individually for any app
- Option to disable softkey backlight (not working on all phones)
- Tasker/Locale plugins !
- Notification icon on Status bar with all needed information
- Up to 5 configurable Screen Filter Presets
- 3 Widgets for easy access
- Configurable preferences, alerts
- Start at boot
Does your eyes hurt you when reading or playing before bedtime ? Enable the Screen Filter
Tired to get the screen off while reading your eBook, browsing on Web or playing? Setup the ScreenOn Lock
Want to set the brightness or rotation individually? Configure them with Total Screen Control
For all these this application is for you!
Changes log:
12/04/2012 - Ver 2.4.2
- Added option to manually input a value for Light sensor when using Dynamic Screen Filter
- Increased the list for dynamic levels to 10 items (from 5)
10/04/2012 - Ver 2.4.1
- added option for changing text color in notification status bar
- few bug fixes
26/02/2012 - Ver 2.4
- Tasker/Locale plugin for ScreenOn Lock event !
22/02/2012 - Ver 2.3
- Tasker/Locale plugin for Screen Filter settings !
- "Install button fix" option. Enable it only if you can't press Install button when installing an aplication.
- To come: Tasker/Locale plugin for other Total Screen Control features (eg ScreenOn Lock)
28/01/2012 - Ver 2.1
- Enhanced Softkeys backlight module. Turn off softkeys when screen filter value reach a configurable preset value
- New Softkeys off detection method (Root devices)
- Fixed first detection method,now it will work on supported devices. If not,select another method or contact me.
19/01/2012 - Ver 2.0
- Added NEW FEATURE: Screen Filter Bar - Control Filter dim with a swipe of you finger in any application you're in!
If you like this feature check Total Screen Filter which allows more customizations !
Check video for demo of this new feature
- Redesign of the application interface
- ICS compatible
- Various code enhancements
02/12/2011 - Ver 1.9.3
-Redesigned Screen Filter Schedule to be more intuitive
-Better performance when using Dynamic Filter
-Fix bug in Screen Filter Presets
11/10/2011 - Ver 1.9.2
Added option to delay Screen Off after the ScreenOn Lock is released.
07/07/2011 - Ver 1.9.1
Added option to select the interval Total Screen Control checks what application is visible and apply configured options.
Useful for those who want a better response time in changing the configuration but also for those who don't use settings per individual application by increasing the checking interval and by this achieving a lower battery usage.
26/06/2011 - Ver 1.9
*** New feature ***
- Option to disable softkey backlight when Screen Filter is enabled (not working on all phones)
Changes:
- Removed brightness popup window when brightness is changed
18/06/2011 - Ver 1.8
*** New feature ***
Screen Filter Color - allows you to change the color of the Screen Filter !
20/05/2011 - Ver 1.7
New feature !!
*** Dynamic Screen Filter ***
With this option you can configure Screen Filter levels based on phone's light sensor! Assign for every light sensor value a value for the Screen Filter !
Forget about the inexact auto-brightness option of your phone and enable Dynamic Screen Filter for better control of your phone's brightness!
28/02/2011 - Ver 1.6
New feature:
"Bright Light Detection", automatically disable Screen Filter based on Light Sensor readings when bright light is detected.
Useful when Screen Filter is enabled and the phone is used under direct sun, this feature will temporally disable the Screen Filter if the light threshold is passed.
14/02/2011 - Ver 1.5.1
Fixed Android 1.6 compatibility
07/02/2011 - Ver 1.5
Added option to disable Global Screen Filter for certain applications (e.g. you want Global Filter enabled but for Video Player or Messaging you want it disabled).
Just go in Application Tab/Brightness Icon and configure this feature for what application you want!
29/01/2011 - Ver 1.4.2
Added No Movement Detection in ScreenOn Lock based on phone orientation feature. Allows to set the time after that the ScreenOn Lock will disable if the phone was not moved.
Various enhancements in phone orientation detection algorithm.
Download: trial version valid until 06.02.2012
you might wanna say if its for android or winmo in the thread title
Kameirus said:
you might wanna say if its for android or winmo in the thread title
Click to expand...
Click to collapse
Thanks, I have only Android in my head, I didn't realize that it could be also for other platforms
Yeah, quite surprised that XDA hasnt created sub-forums for the different OS's aswell as mandatory topic titling.
Very nice idea though and thaks for posting info on your app bud
Really a good app , it could help me use lowest brightness value to save my battery.
But what i got a highly battery usaege on this app..... too bad~~~ Could some one tell me what's going on ?
My phone is idle , i even did not use it when i plug out the ac.
But ..
great app but it crashes everytime i try to change one of the settings :/
A great app, I like this.
Great app. working so far fine. No crashe....till now I can not confirm that battery problem.
serect said:
Really a good app , it could help me use lowest brightness value to save my battery.
But what i got a highly battery usaege on this app..... too bad~~~ Could some one tell me what's going on ?
My phone is idle , i even did not use it when i plug out the ac.
But ..
Click to expand...
Click to collapse
Ok I have got an equal result like you. 82% usage for the last 1h 20 min....Gonna keep it for a while on my device and watch its usage with the monitoring function of the app "SystemPanel".
Here is a screen shot of the usage
Hi guys,
thanks for your feedback:
Regarding battery use, this is something it needs deeper investigations, I have also encountered this high battery use REPORT but not always and I have gathered the following info:
- This is related only to ScreenOn Lock based on Sensor Orientation feature. So anyone that doesn't need this function just disable it and 99% that this usage will not appear anymore
- For the others, who find this feature useful there are 2 remarks:
1. First is a quote from another, much known application who's users reported also this high usage report:
* Battery usage is an insanely misleading stat. Many people assume that it means "80% of my battery was consumed by ****", and consequently, "if ***** were not running, my battery would last 80% longer". This simply isn't true. It's not even close. I've tried to get clear answers from Google on what the stat actually means, but haven't gotten more than "the amount of power consumed by an app when it is running". ***** doesn't run much.
* Some phones appear to get confused and attribute nearly all system battery usage to *****. This problem is not unique ******, and in fact applications such as Locale have started providing disclaimers for certain devices to warn users of the issues.
* ***** still suspends itself whenever the screen is turned off. The ***** service puts all threads into a sleep state using Thread.sleep(99999999999). It's possible that the Service is still being attributed some kind of resource usage since it hasn't been terminated (even though the threads have been suspended). I'm looking into this. At this point from what I can tell, there are no running threads once the screen is turned off...
I'm continuing to look into this, as I'm getting absolutely hammered at this point from a ratings (and consequently sales perspective), but I'm not sure that there is much I'm going to be able to do about improving the battery usage stats on specific devices.
The bottom line is this: ***** either improves your phone's battery life or it doesn't, regardless of what the battery stats say. On my Nexus One, ***** averages around 2-3% on the stats list. Sometimes it goes higher, but will generally drift back down to around that level.
2. This occurs randomly, please try to reboot your phone and check if the usage is still high.
DirkStorck said:
Ok I have got an equal result like you. 82% usage for the last 1h 20 min....Gonna keep it for a while on my device and watch its usage with the monitoring function of the app "SystemPanel".
Click to expand...
Click to collapse
I'm using also System Panel and there it could be clearly seen that Total CPU Time and Average Consumption for Total Screen are in limits.
reaperzero said:
great app but it crashes everytime i try to change one of the settings :/
Click to expand...
Click to collapse
Please provide more details, when it crash, what setting you try to modify, phone model, Android OS version...
muntos said:
Hi guys,
thanks for your feedback:
Regarding battery use, this is something it needs deeper investigations, I have also encountered this high battery use REPORT but not always and I have gathered the following info:
- This is related only to ScreenOn Lock based on Sensor Orientation feature. So anyone that doesn't need this function just disable it and 99% that this usage will not appear anymore
- For the others, who find this feature useful there are 2 remarks:
1. First is a quote from another, much known application who's users reported also this high usage report:
* Battery usage is an insanely misleading stat. Many people assume that it means "80% of my battery was consumed by ****", and consequently, "if ***** were not running, my battery would last 80% longer". This simply isn't true. It's not even close. I've tried to get clear answers from Google on what the stat actually means, but haven't gotten more than "the amount of power consumed by an app when it is running". ***** doesn't run much.
* Some phones appear to get confused and attribute nearly all system battery usage to *****. This problem is not unique ******, and in fact applications such as Locale have started providing disclaimers for certain devices to warn users of the issues.
* ***** still suspends itself whenever the screen is turned off. The ***** service puts all threads into a sleep state using Thread.sleep(99999999999). It's possible that the Service is still being attributed some kind of resource usage since it hasn't been terminated (even though the threads have been suspended). I'm looking into this. At this point from what I can tell, there are no running threads once the screen is turned off...
I'm continuing to look into this, as I'm getting absolutely hammered at this point from a ratings (and consequently sales perspective), but I'm not sure that there is much I'm going to be able to do about improving the battery usage stats on specific devices.
The bottom line is this: ***** either improves your phone's battery life or it doesn't, regardless of what the battery stats say. On my Nexus One, ***** averages around 2-3% on the stats list. Sometimes it goes higher, but will generally drift back down to around that level.
2. This occurs randomly, please try to reboot your phone and check if the usage is still high.
Click to expand...
Click to collapse
Thanks muntos. I like this app because the function on it equal to Screebl + Screen Filter .And I only need to use one app.
The "ScreenOn Lock" is same as Screebl. But i notice that when i use screebl it only have about 2~3% battery useage.
Hope you could find out the root cause about the heavily battery usage.
FYI , my phone is Galaxy S I9000.
BTW , How many days for trial version?
serect said:
Thanks muntos. I like this app because the function on it equal to Screebl + Screen Filter .And I only need to use one app.
The "ScreenOn Lock" is same as Screebl. But i notice that when i use screebl it only have about 2~3% battery useage.
Hope you could find out the root cause about the heavily battery usage.
FYI , my phone is Galaxy S I9000.
BTW , How many days for trial version?
Click to expand...
Click to collapse
My Phone it's also Galaxy S I9000. Please, could you do a phone reboot and then check if the same high values are shown in Battery use ?
Regarding trial version, as this moment you can check when the version expires by going to menu->about, but check in the Market when an update appears, this will extend the trial period.
muntos said:
My Phone it's also Galaxy S I9000. Please, could you do a phone reboot and then check if the same high values are shown in Battery use ?
Regarding trial version, as this moment you can check when the version expires by going to menu->about, but check in the Market when an update appears, this will extend the trial period.
Click to expand...
Click to collapse
yep~~ I had do a phone reboot. The picture which i posted before is a result after phone reboot.
Anyway , much appreciated your instant reply ,I will do a phone reboot again and observe if any change on battery usage.
Thanks Serect!
Anyone who uses this application please provide feedback regarding Battery Use Information in Settings->About Phone->Battery Use.
Thank you !
serect said:
yep~~ I had do a phone reboot. The picture which i posted before is a result after phone reboot.
Anyway , much appreciated your instant reply ,I will do a phone reboot again and observe if any change on battery usage.
Click to expand...
Click to collapse
It is a pity that i got a trial expire after my phone reboot .
It seems the battery usage has improve after reboot. But I only power on 37min~~lol...
serect said:
It is a pity that i got a trial expire after my phone reboot .
It seems the battery usage has improve after reboot. But I only power on 37min~~lol...
Click to expand...
Click to collapse
Well I believe that at least until you would recharge your phone you would not see anymore that high usage report...
Please check the Market for an update, trial period extended
muntos said:
Well I believe that at least until you would recharge your phone you would not see anymore that high usage report...
Please check the Market for an update, trial period extended
Click to expand...
Click to collapse
...I found when my trial expire , the "screen on lock" function automatically been disable , that's why I got a lower battery useage.
And I have a suggestion when the trial expire , I hope I have a chance to disable the Total Screen Control service , everytime I only been stick on "buy" or "close" option , but the service is still been enable there and i have no chance to disable it.
...It make me only have one option to uninstall it , too bad...
Besides tweaking deep into the device OS, there are some general ways to limit the battery drain on your NEXUS 5.
Here is a list of some painless and easily executable steps to make the Battery Juice last longer.
1. Identify the culprit app
Poorly coded apps and the ones with a lot of advertisements are resource intensive. A trip to Settings > Power > Battery Use will reveal the applications consuming most of the battery.
Try to get rid of the apps that you rarely use or don't use at all. There's no reason to keep them in your list and share a sip of juice.
Keep the applications updated, as the updates include bug fixes which make them stable and efficient. Doing so will help you in extending the battery life.
2. Pre-installed applications
Your android device comes with many pre installed applications aka bloatwares. They keep running in the background as a background process and suck most of the battery juice. And in most cases you cannot delete that app. Thanks to the device manufacturer.
You can squeeze some juice by disabling these applications by taking a trip to Settings > Apps. Click on the application and then click Disable
3. Location Services
Using your location to serve you with Google Cards, and to help you find your way with navigation, uses GPS, the largest battery sucker. Turn off the location services from Settings > Location.
Turn off Google Location reporting from here which reports your location to Google time to time, to send you the location of nearby restaurants and other places to visit.
4. Auto Sync
Set apps to sync manually or set them to sync less frequently.
When an app is scheduled to sync, it'll use internet connection — and the process uses power in the background. Set the app to "manual sync" or to sync after a longer duration (3-4 hours). Email services and instant messaging services use auto sync. Keep an eye over Gmail, Yahoo and other applications.
Moreover, select to sync over WiFi instead of 4G/LTE.
5. Display Settings
Tweaking the display settings will provide a major boost to the battery performance.
Set a desktop background which is black in color
Don't always rely on auto brightness as its intensity is always larger than that required. Set the brightness manually to the lowest comfortable level. Using a brightness toggle widget is advised.
Reduce the screen timeout to 1 minute or less. Faster the screen goes off, the more juice you conserve.
Live wallpapers or the animated wallpapers should be avoided.
6....
For the next 5 tips, read the -->Mod Edit: Please do not make "teaser" posts to drive traffic to other websites. Thanks!
You didn't even bother to edit out the portion about amoled screens...
Wakamatsu said:
You didn't even bother to edit out the portion about amoled screens...
Click to expand...
Click to collapse
Done.
After seeing sagar321 getting 6 hours SoT, I switch too. Been using AIMROM-v2.0-20170709, which is the best build for battery savings. The latest build v2.5 is not as good for battery comparatively, although it has more rom improvements/features.
Note: Other roms I tested which is battery-friendly
CrDroid v3.4
CosmicOS v2.0
need to check with official forums for best version/build which is battery friendly
My protocol for max battery savings, using my own custom kernel, microG (without GAPPS, but with functional Play Store which you can use to install Gapps), need root:
(battery draining Google Play Services is not installed, but Google Calendar, Chrome, Drive, Gmail, Keep, Sheets work without issues
Google Play won't work, Google Photo won't sync, this is due to microG authentication issues)
- Backup all data, partitions (see my sig below)
- Boot to TWRP, wipe dalvik/cache
(optional: change Cache filesystem to F2FS)
- Flash AIMROM v2.0,
then immediately flash XDA Nanomod PATCHER v13.3 (official thread), this allows the rom to enable Signature Spoofing, which is a pre-requisite for microG. The patching could take a while.
(what this means is you can use ANY rom, including those which do not support Signature Spoofing natively, simply apply the patch
of course select those roms without any Google Apps
battery performance, compatability will differ across roms)
- reboot phone when done, setup phone networks & any other optimal settings, but do NOT create any accounts.
- boot to TWRP, flash my custom kernel v05, (official thread), reboot phone
(important note: when choosing kernels, always check the rom base (aosp or lineage), roms with same base can share the same kernel
in this context, AIMROM & OctOS roms are both lineageOS based so can use the kernel interchangeably)
- boot to TWRP, flash SuperSU or magisk v14 (official thread), reboot phone
then install Magisk Manager v5.3.0, configure Automatic Response to GRANT using Settings
Important note: if using official Xposed for Nougat, SuperSU is a better choice bcoz it works with Greenify. I could not get Greenify to work when Magisk is installed.
- boot to TWRP, flash ale5000's microG installer & google-sync-addon (just follow this excellent guide)
reboot phone, configure microG as described in the 1st post of microG guide
MUST reboot phone
- give all required permissions from Settings > Apps > 3-dot menu > Show System
calendar
calendar storage
contacts
contacts storage
google calendar sync
google contacts sync
google play store
microG services core
must reboot phone
- add new google account
go to Settings > Accounts > Google > myaccount > 3-dot menu > Sync now
verify Calendar, Contacts are syncing, wait for completion, then reboot
- launch Contacts, Calendar
verify your contacts, calendar events are intact
- launch Play Store
disable auto-update apps from Play Store Settings
install any Google Apps you need
give all required permissions for these Google Apps, from Settings > Apps > 3-dot menu > Show System
then reboot phone
sync these Google Apps, from Settings > Accounts > Google > myaccount > 3-dot menu > Sync now
must reboot, launch these Google Apps, if asked to :
Sign-in, simply choose Cancel, the app will work (especially Google Calendar)
- if using AdAway (recommended as ads strain battery & network), make sure to put mtalk.google.com on your whitelist (Your Lists, White), or else problems are likely to occur when using Google Cloud Messaging (ie Whatsapp, Google Apps etc)
at this point, Signature Spoofing, microG, Google Apps work. Most significantly, there is no battery draining Google Play Services.
the next section deals with more battery saving configuration:
- configure kernel as described here, reboot
- install ForceDoze
activate service (toggle)
Settings >
Don't disable sensors on screen off [CHECK]
Turn off while charging [UN-CHECK]
Disable motion sensing for Doze [CHECK]
Whitelist apps : add any apps which need to be ON during screen off, as ForceDoze will kick in, and put those apps to sleep
(I added Whatsapp coz I need the messages to be notified as they arrive, Chrome so my downloads will not be interrupted)
note that apps added to Whitelist will be added to Battery Optimisation as Not Optimised
- install Nougat/Oreo Quick Settings (this app satisfies 90% of my quick tiles)
reading mode/black & white/monochromacy = oreo/nougat quick settings
3g setting = Nougat/Oreo Quick Settings (Cellular data type), shortcutter (yes), tile extension (activity>mobile network>data roam settings)
battery saver = lineage, oreo/nougat quick settings
advanced power menu = Nougat/Oreo Quick Settings (Reboot)
ring mode = Nougat/Oreo Quick Settings (Ringer Mode)
camera = Nougat/Oreo Quick Settings (Camera)
- install Shortcutter
turn ON black/white screen - save battery during standby
other useful quicktiles
system tiles: B&W, power saver, ring mode
action tiles: camera, power dialog
custom tile: Activity (Phone>Mobile Network Settings 2G/3G/4G)
Tile Extension
Custom shortcut (select ETC, system profile), but note that this in not available in Oreo roms
if using LineageOS-15.0 (oreo), which don't have many quick tiles, can supplement with
(good to have)
system tiles: ambient display
auto sync
heads up
ime selector
immersive
location
mobile data
system tiles: network mode? can't seem to get it to work
action tiles: power menu, volume panel
information tiles: data usage
tiles from tile extension
shortcut: ETC. (screenshot)
- Install any other apps required, but do consider
Play Store alternatives:
F-Droid, I installed Open Camera, K-9 Mail, oandBackup, Termux
- Google Cloud Messaging > 3-dot menu > Advanced
set everything to ON/Manual: 30 minutes
(larger ping times save battery, but GCM messages may arrive late
smaller ping times drain battery, but GCM message may arrive on time
your mileage may vary, I tested 10x Whatsapp message during a 3 hour standby, all messages arrived within 1st min)
If there are issues with headphone/speakers/mic, simply install SoundAbout, set all to 'Let Media App decide"
If screen goes black during incoming phone calls,
turn on Power Notification Controls
set Phone notifications Importance to another level (Settings > Notifications > Phone)
or install & use another phone dialer
other mods I've tried
boot to twrp
flash official xposed sdk for nougat
reboot
install xposed installer
flash arise sound mod
working xposed modules
xprivacy, even though internal check error
forcedoze
amplify
boot manager
swipeback
greenify, need supersu, not magisk
gravity box does not work atm, rename original /system/framework/XposedBridge.jar, then replace with version from GravityBox, but this version causes XPrivacy to not work
updated: 2017-10-10
reserved
Does it will work with ze500kl @pokipokipxorn
---------- Post added at 12:21 PM ---------- Previous post was at 12:21 PM ----------
Does it will work with ze500kl @pokipokipxorn
mohamedelkholy said:
Does it will work with ze500kl @pokipokipxorn
---------- Post added at 12:21 PM ---------- Previous post was at 12:21 PM ----------
Does it will work with ze500kl @pokipokipxorn
Click to expand...
Click to collapse
Yes
Just make sure u use the right version of ROM & custom kernel for your model
If there is no custom kernel for your model, the guide still works for battery savings, just skip the kernel configuration (kernel adiutor) section.
I want to disable power drain notifications for some apps, like the music player. Did not find a way to customize this.
Another thing: it looks like it has an adaptive power saver but it's more aggresive than the Android stock one. It sometimes takes 1 day or until I open the messaging app to receive messages. Is there a custom setting somewhere that I'm missing? I've just enabled the adaptive power save that I also have on my Pixel, which worked ok. No 'extreme power saving' features have been activated.
Which system mode are you using? The most extreme is the ultra durable mode. Advanced is the customisable mode. I'm using ultra durable (with some changes), adaptive battery and even a 3rd party app called Naptime and have no problems receiving messages.
I was using the standard (dynamic) mode, then switched to advanced and disabled all of the options. Now, after the latest system update, it works better, but was wondering is there anything that I can do. WhatsApp and Signal both took hours to sync with the phone screen turned off.
Oh so you need apps to sync in the background? I thought you don't receive SMS messages lol. If you already disabled "force restriction to background sync" in advanced mode's settings, check if WhatsApp and Signal are optimised in apps & notifications>special app access>battery optimization