Power Switch
Save power by turning off your device's screen whenever you shut the case!
Power Switch is a tool for devices with cases - somewhat like the SmartCover, it will turn off the screen when you shut the case.
If you have a device with poor battery life, Power Switch can save tons of juice by switching it off entirely after a given amount of time asleep.
Features:
- Sleep seconds after shutting case
- Automatic shutdown
- Set up a schedule using Night Mode
- Configure sensor sensitivity
- Facedown to turn screen off
- Persistent notification
- Uses almost no power
The app has gone through an extensive testing process here at XDA under another name. Thanks to everyone who helped make it happen, you're the best!
However, this testing showed that some features of that app were not all that useful, and some were conspicuously absent. To save both you and us a lot of grief, we made the second-generation Killswitch.
If you have any comments or suggestions, please use this thread. I daresay Im known as a kindly developer always open to suggestions.
If you want to upgrade from Killswitch, send an email to the address in my signature containing the words "KILLSWITCH REFUND" and the order numbers of both Killswitch and Power Switch. I will then refund you the cost of Killswitch, and you will have Power Switch.
Lite
This version limits the cool down timer - it works just as well, but doesnt save as much juice!
https://market.android.com/details?id=fahrbot.apps.powerswitch.demo&feature=more_from_developer
Pro
Has all the juice-saving power and customization!
https://market.android.com/details?id=fahrbot.apps.powerswitch.pro&feature=search_result
Works on Gingerbread handsets?
Yes, works on 2.0+. No need for root either.
Any opinions?
Anything else?
Pretty clever implementation of the dialog box, all of the buttons on that is very useful and I will be using this app for my tablet
Enjoy, and please leave suggestions and market reviews, they help a lot!
Any suggestions guys?
I like the app's style and potential.
Maybe you could give consideration to some of the following as potential future features:
- Option to mute/unmute
- Scheduled backup for rooted devices?
- Check for updates (scheduled times?)
- Change data sync frequencies
- Enable/disable location services - root (Latitude etc)
- Kill/enable WiFi/mobile data
- Auto reply to SMSs (option to specify time period)
None of the above are at all thought through by me but you might see some potential that perhaps you hadn't been considering. If you think it's all a load of [email protected] Just ignore this (at least you got a free bump).
nobnut said:
I like the app's style and potential.
Maybe you could give consideration to some of the following as potential future features:
- Option to mute/unmute
- Scheduled backup for rooted devices?
- Check for updates (scheduled times?)
- Change data sync frequencies
- Enable/disable location services - root (Latitude etc)
- Kill/enable WiFi/mobile data
- Auto reply to SMSs (option to specify time period)
Click to expand...
Click to collapse
Mate, these are good ideas, but the app really has a different purpose. I am in fact working on something else where these ideas would be more appropriate...
Works great for its intended purpose. Gracias.
Good to see you in this thread tivo, thanks for the thanks!
So based on the description of what this does...
It has no reason to access the internet, but it does.
It has no readon to read my phoen state etc, but it does
It also has no reason to modify my SD card contents, but it does.
I'd like to try this as it may be quite useful. But Im sorry, there's no way Im going to try it given the permissions it seems to require for no stated reason!
Man id really love to reply in a smarmy, pushy-noob destroying, paranoia dispelling way, but you do have a point.
Internet - license, debugging, flurry (very coarse, national level)
Read data - debugging
SD - debugging log creation
Phone state - disables itself during calls (duh)
See i could have said anything there and you would never know (ehm google, htc, amazon).
But im a community dev here. With quite a few apps and a little respect i like to think.
ftgg99 said:
Man id really love to reply in a smarmy, pushy-noob destroying, paranoia dispelling way, but you do have a point.
Click to expand...
Click to collapse
Ive nothing against you or your app, but having looked at many things to buy on the market, Ive yet to buy a single one due to the level of permissions they seem to require with no reason given.
I suspect flurry isnt used for poping up annoying ads for "Also by the same author". Yes I know! But I found one free game I liked that insisted on running a background service whose sole purpose seemed to be to download advert details and show notifications of the other games produced by the publisher. A few in game ads I can live with, but not that level of annoyance.
Sorry rant over. Time to find the credit card I think
flurry is just a statistics service, the thing youre talking about is called airpush, its evil incarnate.
Unfortunately it seems this isnt going to work with my transformer and my case
Ive turned the sensitivity down to 1% and it still thinks its too dark and starts to turn the screen off. If I set it to 0% it doesnt start to turn things off at all. This is under energy saving lights or standard fluorescent lights which may be having some effect I guess. Certainly the front camera is quite dark under these lights.
Additionally, when I close the cover I suspect the screen light is reflecting from the cover and lighting the sensor enough to keep things still running unless the screen is really dark. (Even with the cover closed I can see light from the screen through gaps) Turning the sensitivity to a larger percentage would fix that of course, but then it will start turning off while Im using it
What case is this?
ftgg99 said:
What case is this?
Click to expand...
Click to collapse
Sorry, meant to add that in!
Its this Tuff-Luv one
I dont see any holes in it...
Related
Hi guys, Im the dev of an app that will allow you to send your Tab to sleep when you shut its case. The PR is after the break.
Now that we have three high end tablets with proximity sensors (Note, 7+ and 7.7) its time we did some testing to see what sensitivities we should set in the app by default.
Please help us out with this. Simply download the free app, mess around with proximity settings until they work and report back what lever (in %) you needed.
Note that the current auto-selection prompt will only enable the light sensor if you pick "Tablet" in the first run dialog. You will need to turn the proximity detection on manually in the app's settings, as your tablets actually have this sensor!
Thanks in advance, and i hope you like the app
--------------------------------
Power Switch:
Power Switch is a tool for devices with cases - somewhat like the SmartCover, it will turn off the screen when you shut the case. If you have a device with poor
battery life, Power Switch can save tons of juice by switching it off entirely after a given amount of time asleep.
The app works best on phones using the proximity sensor. On tablets, the light sensor is the most efficient method of knowing that the case has been closed.
Features:
- Sleep seconds after shutting case
- Automatic shutdown (rooted devices only)
- Set up a schedule using Night Mode
- Configure sensor sensitivity
- Facedown to turn screen off
- Persistent notification
- Plays sound to let you know that the screen has turned off
The app has gone through an extensive testing process here at XDA under another name. Thanks to everyone who helped make it happen, you're the best!
Remember to adjust the light sensor sensitivity settings in a light environment for best performance, and use Night Mode if you are on a tablet with a poor ambient light sensor.
If you have any comments or suggestions, please use this thread or the in-app feedback tool. Please be aware that we ignore logs without descriptions.
Market link:
https://market.android.com/details?id=fahrbot.apps.powerswitch.demo
The Lite version of the app is exactly the same as the Pro, only the timers are restricted to a minimum of twelve seconds.
Screens:
I'll definitely try this when I get my tablet back from Samsung in the next couple days! Thanks!
Please do, let me know.
Sent from my GT-P7500 using xda premium
ftgg99 said:
Please do, let me know.
Sent from my GT-P7500 using xda premium
Click to expand...
Click to collapse
I used this app for about a week. Seemed to work fine i forgot it was there. I wiped my tablet and did not reinstall the program. I did find that the thresholds had to be adjusted with my case tablet combination.
Right, but what were they? Stick to the topic please.
Sent from my GT-P7500 using xda premium
I reinstalled the app, to get it to work and not be intrusive I have the light sensor set at 13% and the prox set at 33%. It takes about 20 seconds to turn off the screen after I close the case.
painter_ said:
I reinstalled the app, to get it to work and not be intrusive I have the light sensor set at 13% and the prox set at 33%. It takes about 20 seconds to turn off the screen after I close the case.
Click to expand...
Click to collapse
In the lite version, the minimum time is 12 seconds...
Hate to point this out...
It's been done before, and for free....
Here.
Please don't do that, its not cool. Added to ignore list.
Sent from my GT-P7500 using xda premium
MOD EDIT: There is no reason to name call when someone is trying to be helpful.
Providing users with a free alternative is most certainly cool.
It's up to you, as a developer, to give the users a reason to purchase YOUR application with features which the other developers don't offer.
Adding people to your ignore list is obtuse, it shows you're not open to fair competition and gives the users another reason NOT to go for your paid apps.
painter_ said:
I reinstalled the app, to get it to work and not be intrusive I have the light sensor set at 13% and the prox set at 33%. It takes about 20 seconds to turn off the screen after I close the case.
Click to expand...
Click to collapse
Are you saying you need both sensors?
It doesnt work on my galaxy tab 7.7 when I close the lid of my samsung book cover. I have tried on proximity sensor, proximity + light sensor, both failed
Considering that there are no real custom roms for the 7.7 and it works perfectly my my own tab, you should be trying different sensitivity settings.
Its working perfectly here! Thank for this awesome app!
Anything other than praise to report
Any issues to report?
Nope, still works well
Anything to report?
acolwill said:
Providing users with a free alternative is most certainly cool.
It's up to you, as a developer, to give the users a reason to purchase YOUR application with features which the other developers don't offer.
Adding people to your ignore list is obtuse, it shows you're not open to fair competition and gives the users another reason NOT to go for your paid apps.
Click to expand...
Click to collapse
Gotta agree.
rogerperk said:
Gotta agree.
Click to expand...
Click to collapse
Great! So long.
Finally got my app up and running on the Market and being a die hard Galaxy Note and xda user, I thought it would only be appropriate to post it here for fellow users to enjoy. =)
IntelliCover is a utility which uses your device’s proximity sensor to control its display and allow fast and efficient access to your phone or tablet.
It turns the screen turns off automatically when you put your device in your pockets, close its flip cover, store the device in a bag, or even just leave the device facing down on a table. As soon as the device is back in your hand the proximity sensor is triggered again, the screen turns back on and your phone is instantly ready for use.
IntelliCover is more feature-filled than any other similar application on the market. And the best part? It's FREE!
Click here to visit the market page and download the app for free
P.S. If you find a bug, I'd appreciate if you could report it to me before giving a bad rating because it usually only takes me less than a day to fix.
*** Features ***
Calibration:-
Proximity Sensor Delay – Add a delay to the time takes to trigger the sensor and turn the screen off.
Application Settings:-
Automatic Unlock – Automatically dismiss the Unlock Screen, provided there is no password. *Experimental*
Disable in Landscape Mode – Disable the proximity sensor when an application is in landscape mode.
Go to Home Screen – Show the home screen when the screen turns on.
Screen Off Only – The screen will turn off but not on when the proximity sensor is triggered.
Screen On Only – The screen will turn on but not off when the proximity sensor is triggered.
Start on Boot – Automatically start the IntelliCover service when the device turns on.
Notifications:-
Proximity Warning – Vibrate every time the proximity sensor is triggered.
Status Bar Notification – Show an ongoing notification in the status bar.
Screen On and Off Actions:-
Airplane Mode – Enable or disable airplane mode.
Auto Rotate (will be removed) – Activate or deactivate.
Auto Sync – Activate or deactivate auto-sync.
Bluetooth – Enable or disable Bluetooth.
Haptic Feedback (will be removed) – Activate or deactivate haptic feedback.
Ringer Mode – Switch ringer mode to Normal (Sound with Vibration), Vibrate or Silent.
Wi-fi – Enable or disable wi-fi.
*** Frequently Asked Questions ***
Q) Is it really free? Where are the ads?
Ans) IntelliCover is completely free and has no ads whatsoever!
Q) Do I require a rooted device to use IntelliCover?
Ans) Nope. IntelliCover works on all supported phones and tablets, rooted or unrooted.
Q) Doesn’t using the proximity sensor consume a lot of battery?
Ans) Actually, the proximity sensor consumes minimal power, almost little enough to be insignificant.
Q) What are the ‘Screen On’ and ‘Screen Off’ actions?
Ans) IntelliCover allows you to set events to be triggered when the screen turn on or off. For example, by setting wi-fi to turn on when your screen turns on and setting it to turn off when the screen turns off, you could save a huge amount of battery power.
Q) Can I request a feature?
Ans) Of course! Head over to the Contact section to drop me an e-mail.
Q) Why does IntelliCover keep running in the background?
Ans) It has to run in the background to know when the proximity sensor is triggered.
Q) How can I uninstall the application?
Ans) First you must go into Security settings and remove IntelliCover from System Administrator. Then it can be uninstalled like any other application.
Q) Can I donate to the developer?
Ans) Not yet but hopefully I’ll have something set up soon.
*** Permissions Required ***
INTERNET - Required for error logging (to send crash reports)
WAKE_LOCK - Required to unlock screen
WRITE_SETTINGS - Required to toggle ringer mode
VIBRATE - Required to vibrate phone
RECEIVE_BOOT_COMPLETED - Required to detect phone boot
WRITE_SYNC_SETTINGS - Required to toggle autosync
READ_SYNC_SETTINGS - Required to toggle autosync
BLUETOOTH - Required to toggle bluetooth
BLUETOOTH_ADMIN - Required to toggle bluetooth
ACCESS_WIFI_STATE - Required to toggle WiFi
UPDATE_DEVICE_STATS - Required to toggle WiFi
CHANGE_WIFI_STATE - Required to toggle WiFi
*** Contact ***
Feel free to contact me at [email protected] with any issues, bug reports, feature requests, suggestions or queries. Please read the FAQ above before sending an e-mail to avoid redundancy.
Click here to visit the market page and download the app for free
Nice one mate.really good work.
Keep it up:thumbup:
Sent from my GT-N7000 using xda app-developers app
awsome app . really good
but need some work as ... i may close the phone an put it over the table ..... need option to not turn on the screen when its turn off manual
what happen when my hand somehow moves to the proximity sensor?
shivg86 said:
Nice one mate.really good work.
Keep it up:thumbup:
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Thanks! It's my first app so hearing from happy users is really exciting and inspiring.
engfantom said:
awsome app . really good
but need some work as ... i may close the phone an put it over the table ..... need option to not turn on the screen when its turn off manual
Click to expand...
Click to collapse
Oh I get it. Thanks for pointing that out. I'll try to fix it as soon as possible. I have exams right now but after that (in a week probably) I'll release a fixed, updated version. And thanks also for the rating. With a new app, it really helps to get good ratings
meethere said:
what happen when my hand somehow moves to the proximity sensor?
Click to expand...
Click to collapse
Well there is a delay option. So you could set a delay of 2-3 seconds or more so that if you move your hand by mistake to the proximity sensor, it won't just turn off, it'll be delayed. Or you could set the vibrate function on so if your hand goes there, the phone will vibrate to warn you about it. :good:
Downloaded and voted with five stars.
Thanks mate. :laugh:
Downloading rite now..
good idea ! But, it's not working with flip cover.
Indeed, the screen turn off when the flip cover is at 5mm of the sensor but it turns on again when completely closed!!!
can you fix that?
keep on the good work ...
Sent from my GT-N7000 using xda app-developers app
samvox said:
good idea ! But, it's not working with flip cover.
Indeed, the screen turn off when the flip cover is at 5mm of the sensor but it turns on again when completely closed!!!
can you fix that?
keep on the good work ...
Sent from my GT-N7000 using xda app-developers app
Click to expand...
Click to collapse
Hmm...not sure. It works with my flip cover. Almost all phones (like Galaxy Note) have a proximity sensor that only detects FAR or NEAR. So even though I've told the application to turn the screen off when an object comes to a certain distance, either the hardware itself or the phone's firmware doesn't have the ability to detect the distance. Proximity sensors are only made to be used when on a call so it doesn't really need to detect distance in its regular everyday usage I guess.
I did have a similar problem to yours when testing with a sort of snake-skin leather Zenus case because it had some tiny ridges in it, but in most test cases it worked. I'll try my best to see if I can dig up a solution. =)
If I remember well, it depends on the color of the cover.
Darker means that the proximity doesn't work very well.
I have another proximity app, I'll switch to this one very soon, and I have to put a little white stripe on the cover,where the sensor is, to make it work correctly.
If I'm not wrong,is an issue with all the sensors and not a program fault.
Inviato dal mio GT-N7000 con Tapatalk 2
raistlin74 said:
If I remember well, it depends on the color of the cover.
Darker means that the proximity doesn't work very well.
I have another proximity app, I'll switch to this one very soon, and I have to put a little white stripe on the cover,where the sensor is, to make it work correctly.
If I'm not wrong,is an issue with all the sensors and not a program fault.
Inviato dal mio GT-N7000 con Tapatalk 2
Click to expand...
Click to collapse
Now that I think about it, that actually makes alot of sense. I don't know what it is with ALL sensors and black but they do tend to freak out. I even have an amazing Logitech mouse that works on mirrors and glass and see-through plastic and anywhere else except for on pitch black surfaces lol. The only crude fix I could think of is to use a combo of proximity sensor and light sensor somehow but it would be a waste of battery in my opinion.
Just tried your app, but didn't really worked : when I flip my (black) cover (or when I hide the sensor with my finger), the screens goes off but just for few seconds before getting on again. I'm using WidgetLocker btw, I don't know if it affects your app or not.
Edit : if you need logs or anything, feel free to ask
Sine. said:
Just tried your app, but didn't really worked : when I flip my (black) cover (or when I hide the sensor with my finger), the screens goes off but just for few seconds before getting on again. I'm using WidgetLocker btw, I don't know if it affects your app or not.
Edit : if you need logs or anything, feel free to ask
Click to expand...
Click to collapse
Hi! I'm still searching into it but it would seem that darker colors do not work well with the proximity sensor. Since this doesn't really have much to do with the actual programming itself I'm not sure I can do much about that.
BUT it should work when you use your finger. WidgetLocker shouldn't make a difference, it just works like any other lockscreen so it won't affect the functionality of my app. The fact that it turns on after a while baffles me though, because programmatically it doesn't make sense to me.
If you don't mind, could you please try putting the phone down on a surface or putting it in your pocket to test it? The proximity sensor is pretty sensitive so if you'd moved your finger even a bit it could have gotten triggered. Let me know if it still doesn't work and then we can move on to the messy part.
*yawn* Time for bed
This is happening right now!
Sorry, was just shocked when I actually saw the posting dates/time, I always assume apps have been around and had the bugs worked out, but I see this is newly born! So, for an i717 Note (AT&T Branded) this should essentially work the same, right? I mean there are no processor specific requirements or such? I am a releatively new Note owner - just a few days, and I have rooted, flashed a nice ROM, and ordered an awesome leather cover (NOT the cheesy flip cover) and I went looking for a proximity sensor based "cover detection app" - this sounds good, nice options to fine tune, and the dev sounds really into making this work well. Sounds like a winner. I will grab this now, but will not have my cover till Monday. It is NOT black, LOL, so I will test and report how well it works soon after i get my cover. I also got the Samsung branded car mount (I am going broke getting these, for my HTC phones, then GSII, then GSII Skyrocket (slightly larger) and now Note (LOTS LARGER, LOL!) Oh, so why am I telling you about my car dock? Because it's awesome, LOL!!! Nah, just kidding, (but it IS awesome) - I am wondering if being in a darkened car, like at night might trip the proximity sensors threshold for available light and kill the screen. Anyway, if you don't know that's okay. If it does trip the sensor, I will let you know.
Thanks again for a quality app, with no ads, and free. Always a pleasure - gonna put a price on it when it's perfect? If so remember your testers, hehe.
awsome app, nice job !:good:
SmartAs$Phone said:
Sorry, was just shocked when I actually saw the posting dates/time, I always assume apps have been around and had the bugs worked out, but I see this is newly born! So, for an i717 Note (AT&T Branded) this should essentially work the same, right? I mean there are no processor specific requirements or such? I am a releatively new Note owner - just a few days, and I have rooted, flashed a nice ROM, and ordered an awesome leather cover (NOT the cheesy flip cover) and I went looking for a proximity sensor based "cover detection app" - this sounds good, nice options to fine tune, and the dev sounds really into making this work well. Sounds like a winner. I will grab this now, but will not have my cover till Monday. It is NOT black, LOL, so I will test and report how well it works soon after i get my cover. I also got the Samsung branded car mount (I am going broke getting these, for my HTC phones, then GSII, then GSII Skyrocket (slightly larger) and now Note (LOTS LARGER, LOL!) Oh, so why am I telling you about my car dock? Because it's awesome, LOL!!! Nah, just kidding, (but it IS awesome) - I am wondering if being in a darkened car, like at night might trip the proximity sensors threshold for available light and kill the screen. Anyway, if you don't know that's okay. If it does trip the sensor, I will let you know.
Thanks again for a quality app, with no ads, and free. Always a pleasure - gonna put a price on it when it's perfect? If so remember your testers, hehe.
Click to expand...
Click to collapse
lol Well let's get one thing out the way. This app is and will be free (and ad-free) forever. So don't worry about that. Who knows, maybe a long way into the future I might release a paid app to earn a little cash but I don't plan on doing so anytime soon, and surely not to this app.
As for compatibility, as long as your phone has a proximity sensor the app should work (though I'm working out some problems on the smaller phones) so yes, it should work on your phone, no problem. Just hope it works out with your cover though. My cover is sort of a really dark deep brown and it doesn't work at times so I tend not to use that one. I do alot of coding and testing at night btw, and it doesn't just trigger the proximity sensor, so I strongly doubt a darkened car would trigger it.
Good luck with your Note btw. I really think you made the right choice. I've had mine for a year now. I'm just in college so I can't buy Note 2 or I would have. The way Samsung talks about Note 2 though makes me believe I'll have the chance to grab a Note 3 sometime in the future. =)
YES! FINALLY! Fix for all Gingerbread devices coming soon. Should be up within a day or two after some testing. Then I'll work on widgets and optimization and other stuff after I'm done with exams.
i installed this app. but when i close the flip cover, it just locks the screen . opening the cover does nothing
it doesn't properly works
I don't know why, but when I put my finger on sensor it works, with my black cover don't
nokiamodeln91 said:
i installed this app. but when i close the flip cover, it just locks the screen . opening the cover does nothing
Click to expand...
Click to collapse
Could you please give me a little more information? Just basic stuff like the device model and Android version and whatever else you think is important, and I'll look into the issue.
Giopon said:
I don't know why, but when I put my finger on sensor it works, with my black cover don't
Click to expand...
Click to collapse
Yes, unfortunately this isn't a problem with the application. Proximity sensors don't work well on darker colors. That's why it might work with your finger and maybe in your pocket but not with a black cover. Sorry, this is a problem with hardware, not with the app, so I can't fix that. Only thing I can tell you is that you're not alone. Pretty much all proximity sensors have trouble with black, not just yours.
So i got installing all the battery saver apps, greenify etc... they all close apps and not much else, my version comes from the mind of an electronics engineer view point...
hardware drains power NOT some little app running in the background! (Purely software programmer logic... )
So my app grabs what states wifi/gps/bt/modem at the time the screen goes off...
When the screen comes on, it re enables them! Eg go bed with 95% wake up with 94% put in your pocket it just does it...
The 2nd feature is the lost/stolen phone feature while the app itself can not get your gps data (no permissions for it) it can switch gps on/off...
So you send "on" without the surrounding quotes, the app will then switch on gps/wifi/modem/bt... it then disables itself
Now you can use wheres my droid or any other location finding app to easily pinpoint your lost or stolen phone (try getting a location with gps/agps/data disabled which people often do to save power!)
(Includes option to keep wifi/gps untouched from the app)
as for ads!... the ui has 1 ad, no popups or notifications ... and when activated the activity with the ad on is destroyed and can't touch battery life ... at all
Craig's Root Battery Saver!
https://play.google.com/store/apps/details?id=saver.battery.craigs.craigsbatterysaver
Well done
Holy crap! Someone replied (first for me here lol)
Thanks!
To be honest, your app is great when it comes to save battery, but in my opinion your approach is plain wrong in terms of the main purpose of a smartphone - receiving notifications in a timely manner, not when you turn on the screen manually. The same purpose can be achieved by using DS Battery Saver, which will in addition turn on mobile data once per specific time interval to receive push notifications.
And you should reconsider your opinion about "software does not drain battery but hardware does". Check this great thread for example. I am using a combination of different apps (Greenify, Amplify, Power Nap) to tame aggressive services/alarms/wakelocks and I am able to achieve a battery drain close to 0.0% per hour while screen is turned off with WiFi, mobile data and location turned on the whole time without losing instant notifications.
The app supports wake up notifications (well, will... the app's not quite finished yet, been too busy to get everything finished)
If you had gone to the playstore you'd have seen
Also you might want to reconsider what i said..... hardware drains it not software!
You refer to wake locks ... well believe it or not, wake locks turn on hardware which drains the battery, i program microcontrollers with the esp8266 / bluetooth / compass / etc ...
Software can only drain the battery if it's purposely trying to max out the cpu, and if it did you'd know it's malware... there are wakelock detectors too
Craig Capel said:
The app supports wake up notifications (well, will... the app's not quite finished yet, been too busy to get everything finished)
If you had gone to the playstore you'd have seen
Click to expand...
Click to collapse
I came across this, therefore my reference to DS Battery Saver, that already is capable of exact those things. Nevertheless, your app is doing what it was designed for - saving battery (and this is pretty good, indeed).
Craig Capel said:
Also you might want to reconsider what i said..... hardware drains it not software!
You refer to wake locks ... well believe it or not, wake locks turn on hardware which drains the battery, i program microcontrollers with the esp8266 / bluetooth / compass / etc ...
Software can only drain the battery if it's purposely trying to max out the cpu, and if it did you'd know it's malware... there are wakelock detectors too
Click to expand...
Click to collapse
Well, I am familiar with what wakelocks are. But without software, that produces a wakelock, there would be no noticable drain, right? Thus we can go round and round here, I guess. From my point of view the most battery drain on an Android device is the result of poorly programmed software (which results in an unneccessary wakelock) and alarms waking up your device, not from ****ty hardware. You can hunt down those wakelocks/alarms by using apps like Better Battery Stats or Wakelock Detector and reduce them to a minimum without losing functionality. Therefore I consider this as a better approach.
But without software, that produces a wakelock, there would be no noticable drain, right? Thus we can go round and round here, I guess. From my point of view the most battery drain on an Android device is the result of poorly programmed software
Click to expand...
Click to collapse
Unless the software drains it by intensive cpu work, anything else has to be hardware, if i power a gps module, talk to it via uart to enable/disable it... then it's hardware doing it not software..
Take Qualcomm, the newer cpus support an embedded DSP
https://gigaom.com/2014/12/12/5-things-to-expect-from-qualcomms-flagship-mobile-chip-in-2015/
Qualcomm*made that feature possible*in the Snapdragon 800*with its DSP, and they’re pushing hot words even farther. New devices will have the ability to passively listen, using only a small amount of power, for more than just the word “OK.” Qualcomm calls this feature Snapdragon Sense.
The first feature it will enable is a much faster Shazam search. So if you find yourself too slow on the draw when trying to identify unfamiliar music, you’ll love this: When you boot up Shazam, it’ll already have been listening just a little bit, so it can identify the song in a few seconds.
Click to expand...
Click to collapse
As hardware gets smaller and uses less power, then things like the embedded dsp chip will allow you to use wakelocks without little drainage, but were no where near that yet...
think of it like this... software simply carries instructions which can turn on hardware via a field effect transistor, that binary 1 value shows up as 3v logic and the fet begins to conduct between the drain and source, this sets a flip flop and the hardware starts wasting power...
Or to put it another way after the software enables the hardware via a gpio the software stops, or better still, show me software draining the battery with all hardware services disabled... it can't
Good
Does it really work ..
Don't you believe the title? (Really works!)
Craig Capel said:
As hardware gets smaller and uses less power, then things like the embedded dsp chip will allow you to use wakelocks without little drainage, but were no where near that yet...
Click to expand...
Click to collapse
True words. I can also see your other points and do agree with them. But as you said, we are not even close to a system where wakelocks do not drain as much as they currently do. Would we have such a system, your app wouldn't be required, I guess. Therefore taming the unneccessary wakelocks is a good way to achieve a great battery life without losing functionality for the moment.
Awesome
Awesome!!!
Can't open the settings and this sound makes me rly angry lol. Why it makes this sound? (even my phone is silence)
Gesendet von meinem ONE A2001 mit Tapatalk
There are no settings... work in progress (says so in the play store readme)
I've had the flu for the past week so i've not been developing much... expect updates shortly to remove the "settings" option which annoyingly is placed there by default... i never put it there
The sound is cool no? ... it plays a low volume sound to indicate the app is working!
Alright, update includes support for android 4.1 for gps now... i'm slowly working my way through android oddities and different techniques to switch hardware / on and off and with 5 phones to use 4 of them use kitkat!
Had to stop for a break i've had the flu all week, throwing up constantly, later on i'll add the finishing touches to wake up notifications as right now it's extreme power saving mode...
Stay tuned.... oh and i found a bug supporting lollipop, fixed that too, so if you have lollipop and it never worked, it should now ...
Antibiotics did the trick! It was sadly not the flu but some rare bug...
I've almost finished the autowakeup every x minutes 5, 10, 20 min intervals..
Unless someone here can think up a value or maybe add it as an option.
.
I removed the blocking side of things prior i used a thread/sleep now i use a timer event this stops the lag when unlocking the device on older models...
nive work :good:
I dumped the smart check (as far as i can tell anroid never fails, so i removed it)
It should now be seamless between lock screen and the main screen without any more lock up due to the threading...
Enjoy!
great!! will try it. thanks!
Hello everyone,
This guide is for non-rooted, stock-firmware phones. It is geared more towards getting good stand-by times, but of course this will also benefit screen-on time. It has some OnePlus-specific things but also many non-specific to one manufacturer. It does not contain miracle information, but from my experience it can help quite a bit. It assumes that you keep phone, mobile data, Wi-Fi and sync enabled at all times. Those are core features of any phone and are not means to save battery. The optimization steps are listed in the order which I think impacts battery life. You may or may not apply some or all of the things listed, depending on your own needs.
So:
1. Go to Settings->Battery->Battery optimization->[tap on the 3 vertical dots on the upper right corner] and enable the phone's "Advanced Battery Optimization" (aka. Aggressive Doze) feature, while at the same time whitelisting apps from which you need instant notifications, like Whatsapp or Outlook, etc. For other apps notifications may be delayed. Some applications like AdBlock Plus for Samsung browser also need whitelisting to work properly. Just go by trial and error with finding which applications need whitelisting.
2. Enable "Developer Mode" by going to Settings->About Phone and tapping 7 times on the "Build Number". Then go to Settings->Developer Options and enable the "App Wi-Fi Multi/Broadcasting Filter" option. I did not find any app impacted negatively by this, even casting to Chromecast works fine.
3. Go to Settings->Display->Ambient Display and disable the "Lift up display" and "Wake screen on notifications" options (which are useless compared to a true Always-On Display option anyway), and instead put the phone's RGB notification LED to good use. The Light Flow (one of many, but in my opinion the best) app can customize the LED color for different types of notifications, as well as setting a priority or cycling between colors. Since the LED's "always-on" nature, it is actually much more useful than a dead screen that only wakes up when lifted. When I use Light Flow, I set the LED blinking speed to "Always On" and a diffent color for each app. Works much better than any "ambient" mode.
4. Go to Settings->Display->Themes and enable the "Dark Theme". It reduces power consumption for OLED displays such as the one from the OnePlus 6.
5. Social media apps (especially Facebook) are battery hogs because they need to continuously gather your personal data and usage information. If you are only an occasional user, prefer uninstalling those apps and instead using the browser to access your account. This will also benefit you in other areas, like productivity
6. Keep Location off until you need it. This will ensure that the system does not wake up the GPS due to some obscure request from an app that can also work without knowing your location.
7. Go to Settings->Apps->Application list, tap on each app and review permissions. Remove Location permission for apps that you don't want to unknowingly wake up your GPS and draining your battery. I prefer to only allow Location access to Google Maps and Waze but your mileage may vary.
8. Disable Face Unlock. Activating the front camera so often does consume quite a bit of battery, as can be seen in battery stats. And as you may have read, it is not very secure anyway. As the rear-placed fingerprint sensor makes it almost unusable for me (for example I cannot unlock it while in the car cradle or on the desk), I chose to use the Smart Lock features with my Bluetooth smartwatch and my home Wi-Fi network and my phone stays unlocked while my smartwatch is around, which eliminates the necessity for both face unlock and fingerprint reader.
9. Prefer using software from companies that do not live from user data (like Google and Facebook). Collecting as much user information as possible requires wide system access and takes up a lot of battery. I like to replace Gmail with Microsoft Outlook (even for my Gmail addresses) and I use Samsung Internet instead of Chrome. The Samsung browser seems to be the most battery-efficient browser available, way above Firefox. Microsoft Edge may also be a good alternative.
10. Use an ad-blocker if supported by your browser. Animated ads and additional loading of ad-related content contributes quite a bit to the web browsing battery drain.
11. Go to Settings->Accounts->Google and for each Google account, tap on it and then disable syncing for information that you do not need synced. Clicking on a Google account shows you sections of info to be synced. Disable what you don't need. For example, you may only need Contacts syncing for your primary Gooogle account and not all of them. Same with Google Fit data, pictures, etc.
12. Go to Settings->Apps->Special Access->Usage Access and disable this access for OnePlus Switch and Google Play Store (not for Google Play Services, it may have unwanted side effects). This stops these apps from consuming system resources and battery to continuously collect usage data.
13. Go to Settings->Apps->Application list and disable applications that you don't need and can be disabled (some cannot be disabled).
14. Opt out of (do not enable) the "send diagnostic information" checkboxes whenever you are asked for, unless you are really selfless and want to give [a percentage of your battery life] to the community Go from app to app and see if it has this or similar setting (sometimes these settings are sugarcoated into "enhance your experience by sending your data to us"). Disable if found.
15. Do not enter your OnePlus account information. This will activate all kinds of data-sending services that will contribute to the battery drain.
16. Wipe cache after each update, especially if you notice worsened battery drain. To wipe cache, turn off the phone, then hold Power + VolDown buttons continuously until it starts, keep holding until a menu appears. After you enter your phone password you can choose "Wipe Cache/Data" section which brings another menu, choose "Wipe Cache" then after confirmation, choose Reboot.
17. If you are not using the landscape mode a lot, prefer to lock the phone rotation in portrait mode (the toggle is present among the quick toggles) and only unlock the rotation when needed. From what I have read, somehow the auto-rotation seems to unnecessarily cause some activity (even wake-locks), and from my experience I did see a bit of improvement from this tweak, looks like more than placebo.
18. If you already have a OnePlus 6, this does not apply. But if you are after ultimate battery life, keep in mind, less chips means less power draw if all else is equal, and RAM memory needs continuous refresh, so a model with 6GB of RAM may be a bit more power-efficient than one with 8GB RAM, especially given the fact that still-large 6GB of RAM virtually guarantees that there will be no extra overhead related too app reloading.
Hopefully this will help some people.
Below you will find some of my usual stand-by times after the optimization. Since update 5.1.7 battery life seems to be improved even further (see last 2 screenshots - with 5.1.7 and 5.1.8).
Thanks for all this. Most of the things I already did myself, but some of them actually make a lot of sense but I've never thought about it before.
Already very happy with the battery life I'm getting, but very curious if it will be even better now.
Thanks for this nice pice of guide!
All of this means nothing if you have really bad cell reception like me. -105 to -112 dBm at the office. Drains like hell in standby.
Cst79 said:
1. Go to Settings->Battery->Battery optimization->[tap on the 3 vertical dots on the upper right corner] and enable the phone's "Advanced Battery Optimization" (aka. Aggressive Doze) feature, while at the same time whitelisting apps from which you need instant notifications, like Whatsapp or Outlook, etc. For other apps notifications may be delayed. Some applications like AdBlock Plus for Samsung browser also need whitelisting to work properly. Just go by trial and error with finding which applications need whitelisting.
Click to expand...
Click to collapse
By Whitelist you mean changing it to "Not Optimize correct?
mesajoejoe said:
By Whitelist you mean changing it to "Not Optimize correct?
Click to expand...
Click to collapse
Correct !
well done on post [emoji106]
Dumb question, is Advanced Optimization (with some apps not optimized as needed) definitely more efficient than normal, with every app set to optimize as by default (and everything works)?
Why isn't there 3 settings for every app: not optimized, optimized, and advanced optimized?
and i got this today... now charging...
Muntasir Mahmud Saif said:
and i got this today... now charging...
Click to expand...
Click to collapse
Looks pretty great ! Did you use the optimizations from this guide ? Any other tips ?
Cst79 said:
Looks pretty great ! Did you use the optimizations from this guide ? Any other tips ?
Click to expand...
Click to collapse
no bro...i always make my own optimization...no offense though... I'll post the guide later on...
Cst79 said:
15. Do not enter your OnePlus account information. This will activate all kinds of data-sending services that will contribute to the battery drain.
Click to expand...
Click to collapse
Hi Bro,
Sorry that i not so understand what this item 15 means.
xiah1512 said:
Hi Bro,
Sorry that i not so understand what this item 15 means.
Click to expand...
Click to collapse
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Cst79 said:
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Click to expand...
Click to collapse
Ok, Thanks bro.
For those suggestions that cut down on network chit-chat, this also serves as a partial data usage optimization guide. Thanks for taking time to enumerate all these suggestions. I found a few slam-dunks in this list.
Cst79 said:
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Click to expand...
Click to collapse
What does adding that account allow you to do?
Muntasir Mahmud Saif said:
no bro...i always make my own optimization...no offense though... I'll post the guide later on...
Click to expand...
Click to collapse
how did you fix the massive overnight drain eventually?
I'm getting 8% drain overnight, I dont think that's normal.
-marco- said:
how did you fix the massive overnight drain eventually?
I'm getting 8% drain overnight, I dont think that's normal.
Click to expand...
Click to collapse
You are on 5.1.6?
Joyarup said:
You are on 5.1.6?
Click to expand...
Click to collapse
I am, yes.
-marco- said:
I am, yes.
Click to expand...
Click to collapse
I was also facing this weird issue, then I noticed that the phone wasn't deep sleeping for some reasons, I rebooted it before going to sleep and it went to deep sleep fine and the drain was around 2% on LTE standby overnight. I will try different kernels too, currently using EX.
Given the less friendly finger print reading I have taken to double tapping on the screen to turn it on. But relatively often it does not respond to a double tap. Is anyone else experiencing that?
The other one is that at many web sites I go to a pop up message box will come up asking if they can read my device's location. The answer box NEVER responds to a click. The screen will be dim. I have to back up 1 screen which closes the query box. I actually expect that one of my apps that have privileges to over write other apps is the culprit, but I don't see why they would mess with that one function, especially when at that moment those apps aren't being brought up. Any thoughts on this?
Increase screen sensitivity if you haven't already.
Yes I've experienced the double tapping unresponsiveness and decided to have AOD on all the time instead despite additional battery drain just to bypass this issue.
boogiecornejo said:
Yes I've experienced the double tapping unresponsiveness and decided to have AOD on all the time instead despite additional battery drain just to bypass this issue.
Click to expand...
Click to collapse
That's what I do on the 10+
Battery drain is slightly less than 1% @ hour.
For me it runs best/most efficiently with no power management* running other than the system power setting to optimized.
*some apks are package blocked otherwise all buckets show as active in Developer Options. If this is not the case unwanted power management is active.
I'm running Pie; not sure how Q will respond. I found it's best to let Android handle power management exclusively other than blocking serial power hogs like Google Backup Transport and Framework Services Framework. I don't use these.
blackhawk said:
Increase screen sensitivity if you haven't already.
Click to expand...
Click to collapse
Thanks for the suggestion. It is already active.
Here's another interesting thing: every now and then (actually several times during the course of a day) after turning the screen on the bio didn't with nor the location, and it forces me to enter the pin to get into the phone. I even have it set to not lock if hooked to my hearing aids and it still happens.
ewingr said:
Thanks for the suggestion. It is already active.
Here's another interesting thing: every now and then (actually several times during the course of a day) after turning the screen on the bio didn't with nor the location, and it forces me to enter the pin to get into the phone. I even have it set to not lock if hooked to my hearing aids and it still happens.
Click to expand...
Click to collapse
I keep my phone with me at all times, don't let others use it and never lock it. Makes life easier.
It's a steep learning curve with these devices... make sure it has the permissions it needs like being able to change system settings.
blackhawk said:
That's what I do on the 10+
Battery drain is slightly less than 1% @ hour.
For me it runs best/most efficiently with no power management* running other than the system power setting to optimized.
*some apks are package blocked otherwise all buckets show as active in Developer Options. If this is not the case unwanted power management is active.
I'm running Pie; not sure how Q will respond. I found it's best to let Android handle power management exclusively other than blocking serial power hogs like Google Backup Transport and Framework Services Framework. I don't use these.
Click to expand...
Click to collapse
Hmmm... The setting to read it loud is a system setting itself (in Accessibility settings). I don't think there are any permissions to make. I did just look and nothing is apparent.
ewingr said:
Thanks for the suggestion. It is already active.
Here's another interesting thing: every now and then (actually several times during the course of a day) after turning the screen on the bio didn't with nor the location, and it forces me to enter the pin to get into the phone. I even have it set to not lock if hooked to my hearing aids and it still happens.
Click to expand...
Click to collapse
ewingr said:
Hmmm... The setting to read it loud is a system setting itself (in Accessibility settings). I don't think there are any permissions to make. I did just look and nothing is apparent.
Click to expand...
Click to collapse
Permission to change system settings is in it's own listing apart from permissions in each app settings.
Could be more than one apk needed to make all work right.
Make sure power management not doing it.
In Developer Options>Standby Apps, all apps listed there should show as having their buckets as "active" if they not, power management is active.
You don't want that.
ewingr said:
I actually expect that one of my apps that have privileges to over write other apps is the culprit
Click to expand...
Click to collapse
one of the apps is interfering as you correctly suspect