I moved the following into the viper thread; however, I can't figure out how to delete this post. Mod?
DELETE ME
So, my main main motivation in using a customer ROM was to disable auto-sleep. Now I have Viper v1.03 installed (and even the Wolfpack kernel). By ticking the "Stay Awake" button, the phone now doesn't go into sleep mode or (AFAICT) lock up while connected to USB. However, there are, in my opinion, two deficiencies in the implementation:
1. After the expiration of the sleep timer, the screen dims to the point where it's unusable. This is true whatever setting (from auto to 10 minutes) is chosen and is unaffected by power savings settings. There really should be a choice, either under the "sleep " setting or (more intuitively) under "stay awake" to disable sleep timers when connected to USB. IOW, "stay awake" would have three settings: Off, On with sleep timer enabled, and On with sleep timer disabled.
2. With "Stay Awake" turned on, removing from USB should reset the timeout to zero when USB is disconnected. As it stands, removing from USB more or less guarantees that you'll have to wake the phone up and probably unlock it. I would argue that resetting to zero should happen with either of the two stay awake settings I've suggested.
Related
Alright I hate to ask this question, but my searching and reading is not leading anywhere. I recently upgraded to GB (Illuminance with Corn) and I'm loving how fast my phone is. The only problem I notice is how fast my battery drains while on WiFi (Wireless N with WPA2).
Example: I was at my parents house for 2.5 hours, but didn't bother turning wifi on. I only lost a few %. Once I got home, I kicked on the wifi and within an hour I lost 20%. It appears that when wifi is turned on it is almost constantly in use. I checked for rogue apps and data usage and found nothing. The only thing I notice is that every 5 seconds (yes, I actually timed it) it is polling for new networks.
After doing some reading I checked and the build.prop mods are in there (wifi.supplicant_scan_interval).
Any suggestions on where to go next?
Recap of phone config:
Rom: Illuminance 3.01
Kernel: Corn 7.06
Modem: KK4
Yeah...I've noticed that the build.prop tweaks for wifi scanning don't actually seem to change the scanning interval on gingerbread ;/
Try going to, Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
That'll help while it's asleep.
studacris said:
Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
Click to expand...
Click to collapse
+1
I switched my ROM from Apex to Illuminance to test a theory that this functionality would work as it had in the past on Apex ROMS. For whatever reason kernels/framework were swapped in a newer version of Apex that killed this very helpful functionality. Once I switched to Illuminance and enabled the functionality, it works again and I get 2+ days worth of battery life with moderate usage (rarely a video/music played, but I do a lot of browsing and email usage/fb/twitter usage is high).
It drove me nuts on Apex trying to figure out the issue. I had thought my settings.db files that control the wifi functions had gone corrupt and the dev ignored any requests for assistance.
Glad I made the switch.
studacris said:
Yeah...I've noticed that the build.prop tweaks for wifi scanning don't actually seem to change the scanning interval on gingerbread ;/
Try going to, Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
That'll help while it's asleep.
Click to expand...
Click to collapse
That was the first thing I noticed. The ROM defaulted to Always On. I changed that the first day. Unfortunately, I still have the issue. As it stands, I only get one day at most out of my charge. The only thing I let sync is the gmail account. I mostly browse and talk less than 1 hour per day.
I'll try to do a more statistical approach when I get a chance. I'll see about taking readings ever half hour with the wifi on and no other use.
I was under the impression that if the phone downloads data over WiFi it actually uses less battery than if it downloaded data over 3G. When I'm at home, I leave my WiFi on intentionally when my phone is asleep so that my incoming email is more efficient since I have WiFi available.
Am I wrong here? Just curious if I've been mislead all this time.
I don't think you're wrong. That is why I always use wifi at home. I think I found some errant scripts that were running and causing the excess battery drain. I have taken those off.
I'll probably master clear and reload when I'm no longer on call this weekend just to make sure I got everything.
I have a official Samsung desktop charger and when my phone is in it the brightness drops to 12% ... I have also noticed using a Brodit in car charger and it does the same
Occasionally when the phone is in neither it also drops to 12% , it is doing my head in and can't work out why any ideas ? I have had the notes and had same problem so I know it's not the handset I have
I have disabled auto adjust power supply so I know it's not that
Any ideas ?
Sent from my GT-N7000 using xda premium
Am I the only one with this problem ? Surely not as 3 handsets I have had , have all had the same problem
Sent from my GT-N7000 using xda premium
I'm not sure if this is directly applicable to you, but it was the case for me in the past:
When you set your Android phone to "stay awake" when on AC power (as it is referred to in Settings) then the screen will still time-out after the usual time, however instead of turning off, it will instead dim to the "minimum" setting.
Usually the time elapses, the screen dims, then 1 or 2 seconds later the screen turns off. With "Stay Awake" enabled, it dims then stays on.
The reason I suspect this might be happening to you is that you are using docks, presumably using the stay awake setting so that you can always see the display when docked?
There is a potential solution, but I don't know if it will work for definite. Try downloading and installing Widgetsoid (others will work but I am most familiar with that one) then add a new widget, select switcher 1x1, then "screen" at bottom, then "Always on" one up from bottom of list. If my theory is correct, that will keep the screen on constant without dimming after time-out.
Hope that applies and/or helps!
I use the Nexus 7 (running lollipop) in the car, with torque.
I have setted up the "stay awake" option when charging in the devs options.
When I turn the car off, the tablet should go to sleep in the shortest delay possible, so I set the screen timout to 15 seconds.
Only problem is that the screen "dims" automatically after a couple of seconds. Even if I set the screen timout to 30 mins. it still dims after 30 min., which is more than anoying.
Is there an option I could change or a command I could use to disable the dimming alltogether?
Thanks!
Well, nevermind, Got tasker and rooted the devices, I didn't want to "pay" for it, but this app is well worth it!
Lollipop 5.1 & MM 6.0 Update Breaks Hot Spot (Tethering) When Display Shuts Off (M9)
Long time HTC user. Just switched to tmobile and got a new HTC M9, the phone came with Lollipop 5.0. Included with my my plan is HotSpot (Tethering). For 2 days I had my hotspot enabled and the device worked flawlessly.
So eventhough I had unchecked auto-update in the settings, the phone decided to auto update to 5.1 while I was driving. After the OTA update, whenever my display shuts off, my hotspot also shuts off.
Inside Settings>Wireless & networks>Mobile Network Sharing>Mobile Hotspot>Power Mode> Is set to "Always On"
Inside Settings>Power>Power Saver "Optimize battery life" is "OFF"
Inside Settings>Wifi>Advanced Wifi>Wifi optimization" is "OFF"
All the settings as far as I can see are correct but the hotspot shuts off as soon as the display shuts off. HTC is telling me to leave the phone screen on which is absurd.
Thoughts comments? Any other t-mobile users confirm the issue?
I am fully stock.
cloves said:
Long time HTC user. Just switched to tmobile and got a new HTC M9, the phone came with Lollipop 5.0. Included with my my plan is HotSpot (Tethering). For 2 days I had my hotspot enabled and the device worked flawlessly.
So eventhough I had unchecked auto-update in the settings, the phone decided to auto update to 5.1 while I was driving. After the OTA update, whenever my display shuts off, my hotspot also shuts off.
Inside Settings>Wireless & networks>Mobile Network Sharing>Mobile Hotspot>Power Mode> Is set to "Always On"
Inside Settings>Power>Power Saver "Optimize battery life" is "OFF"
Inside Settings>Wifi>Advanced Wifi>Wifi optimization" is "OFF"
All the settings as far as I can see are correct but the hotspot shuts off as soon as the display shuts off. HTC is telling me to leave the phone screen on which is absurd.
Thoughts comments? Any other t-mobile users confirm the issue?
I am fully stock.
Click to expand...
Click to collapse
Yes that is the case , hot-spot will disconnect when screen shuts off, stupid I agree. Think it's something to do with doze power saver.
The only option is keep screen awake while charging in dev options for now.
When I lock the screen, I feel like my S10 enters a heavy sleep mode. I don't receive emails (through Gmail app) on time, Spotify keeps pausing, and group chat messages (those on wifi) are delayed. I have ensured that none of such time sensitive applications are put to sleep. And wifi isn't set to disconnect. Also Google services can't even be modified in terms of its services running!
Does anyone else experience something similar/know what's going on?
***SOLVED***
With adaptive power mode on, your phone automatically switches to a more power saving mode when phone's not in use. Mine was switching to medium-power-saving-mode which had "background network activity" switched to off. I just modified each power mode setting and now I can have the adaptive power mode on and have background activity!