[Q] Tasker and battery drain by proximity sensor - LG Optimus G (International)

From some time now I have been using a tasker profile that would wake my phone when drawn out of my pocket.
This is done by using the proximity sensor. It is set to monitor always (even with screen off).
On my last phone (Samsung i9000) I didn't notice any significant battery drain when using this profile.
However my Optimus G is reporting very high battery usage for Tasker if this profile is active. If I turn off the profile or disable proximity sensor monitoring on screen off, everything is back to normal.
Anyone had similar experience?
LG-E975 with latest CM10.1

Related

Stock 4.4.2 V50020b US light sensor problem

Ambient light sensor no longer works on my V500 after upgraded to 4.4.2. Auto brightness dims the screen but doesn't do anything to adjust it according to light conditions. Also, CPU-z cannot report the sensor any more. It was reported correctly under 4.2.2. Can anybody else replicate the same thing?
Sent from my LG-V500 using Tapatalk
bloommax said:
Ambient light sensor no longer works on my V500 after upgraded to 4.4.2. Auto brightness dims the screen but doesn't do anything to adjust it according to light conditions. Also, CPU-z cannot report the sensor any more. It was reported correctly under 4.2.2. Can anybody else replicate the same thing?
Sent from my LG-V500 using Tapatalk
Click to expand...
Click to collapse
Mine doesn't work either since updating
I do not normally use the auto sense mode for the screen but enabling this I tested it and I can confirm that mine works without a problem. 50020b US version. It does take the brightness about a second to adjust to sudden lighting changes though...
Additionally androsensor does show a light sensor for my device and it does respond to changes.
Sent from my LG-V500 using XDA Premium HD app
I happen to have two V500s, one with 4.4.2, the other with 4.2.2. I set the brightness to 100% with auto. In a dark room, both tablets are dimmed. The 4.2.2 one adjusts its brightness to a comfortable level. The 4.4.2 one is far too dimmed to view the content. I can confirm AndroSensor detects light sensor readings on both. I need to block the sensor first to allow CPU-z to detect it. The auto brightness was quite convenient to use for me previously. It also helps for battery savings when the screen is on. Now it's totally useless. I found the battery lasts significantly longer during sleep mode after the firmware update. However, it lasts shorter during usage due to brightness issue.
Sent from my LG-V500 using Tapatalk

[Q] Force-enabling the proximity sensor while the phone is asleep

I use the Gravity Screen app to turn my phone's screen on and off automatically. It works almost perfectly, but I have run into a problem: It seems that the Xperia Arc S disables the proximity sensor automatically when the phone is in deep sleep. This only happens if not connected to a charger though, if I connect the phone, it works perfectly.
My question is: Is it possible to force the phone to keep the proximity sensor on in deep sleep when the phone is running on battery? The app offers several work-arounds, like keeping the cpu awake (not very battery-friendly obviously), or combining the proximity check with a gravity sensor check for the phones position before turning the screen on, but the better solution would be to just enable the sensor.
I have tried creating an empty profile in tasker with the task "stop" and the state set to proximity, then enabled display-off monitoring in Tasker, but sadly this only seems to conflict with Gravity Screen's ability to read the sensor.
This whole thing could possibly also help make pocket mode work more reliably on our phones. I noobishly suspect that this change would have to be made on kernel level?

[Q] Battery life w/ Auto Brightness On vs. Off

I have Ambient Mode set to off which has been stated to save battery life. I was also wondering if anyone has noticed a difference in battery life while having auto brightness turned on vs off?
ericdmiller said:
I have Ambient Mode set to off which has been stated to save battery life. I was also wondering if anyone has noticed a difference in battery life while having auto brightness turned on vs off?
Click to expand...
Click to collapse
I am going with both ambient screen on and ambient mode on today. Yesterday I had both off and had ~6.3% per hour decrease using it. Today with both on, 10hrs into my day it's ~7.2% per hour discharge. I got about as much calls and texts and emails and disconnects when I walk up front or other side of the building in my office.
So far ~.9% difference with both ambient screen and ambient mode on. I'll test with ambient screen on and ambient mode on the watch to level 1 to see if there's any difference tomorrow.
kpjimmy said:
I am going with both ambient screen on and ambient mode on today. Yesterday I had both off and had ~6.3% per hour decrease using it. Today with both on, 10hrs into my day it's ~7.2% per hour discharge. I got about as much calls and texts and emails and disconnects when I walk up front or other side of the building in my office.
So far ~.9% difference with both ambient screen and ambient mode on. I'll test with ambient screen on and ambient mode on the watch to level 1 to see if there's any difference tomorrow.
Click to expand...
Click to collapse
What's the difference between ambient mode and auto brightness mode? Ambient mode just keeps the display on most of the time?
ericdmiller said:
What's the difference between ambient mode and auto brightness mode? Ambient mode just keeps the display on most of the time?
Click to expand...
Click to collapse
Ambient mode is what I refer to is the setting on the watch for auto brightness. When the watch is awake, the watch determines on how bright the display should be according to the light sensor on the watch. I normally turn my brightness to level one on my g watch and I lasted 14 hrs easy.
kpjimmy said:
Ambient mode is what I refer to is the setting on the watch for auto brightness. When the watch is awake, the watch determines on how bright the display should be according to the light sensor on the watch. I normally turn my brightness to level one on my g watch and I lasted 14 hrs easy.
Click to expand...
Click to collapse
Are you aware there's an Auto Brightness setting as well? Trying to determine what the difference is between the two.
ericdmiller said:
Are you aware there's an Auto Brightness setting as well? Trying to determine what the difference is between the two.
Click to expand...
Click to collapse
The term "ambient setting" on the phone? That's pretty much the same as the "screen on" setting when I had the g watch. Actually it was actually the same setting on the Moto prior to updating to 4.4w.1.
The "auto brightness" is the where the light sensor on the watch is used. The difference is that the autobrightness will use the sensor where if you choose one of the other levels, from my understanding, will then not use the light sensor and the "Ambient" setting is just another fancy way of saying dimmed rather than off.

Proximity sensor manager wakelock (Lollipop 5.11)

Is it normal with 1h 45 min talk time to have 1h 35min proximity sensor manager wakelock? This is a huge wakelock according to Better Battery Stats. Any way to lower it?
N.
Not sent by me.
BlackArtsInc said:
Is it normal with 1h 45 min talk time to have 1h 35min proximity sensor manager wakelock? This is a huge wakelock according to Better Battery Stats. Any way to lower it?
N.
Not sent by me.
Click to expand...
Click to collapse
Anything new?
Did you find any solution? It's the same for me proximity sensor manager is keeping the phone awake during calls even though I use the power button to turn the screen off until the call is finished. When using speaker there is no problem - Xperia Z2.
scorpion87bg said:
...proximity sensor manager is keeping the phone awake during calls even though I use the power button to turn the screen off until the call is finished...
Click to expand...
Click to collapse
what do you want? to have a phone in deep sleep state while you are in a call???
karamancho said:
what do you want? to have a phone in deep sleep state while you are in a call???
Click to expand...
Click to collapse
I would not ask this if it was not like that when on speaker. I don't know if it is normal or not just noticed that when I am talking on speaker this is not active and the phone is not keeped awake by Android System! Also talking on speaker drains less battery and I think it is because of that.
Other thing. How is it possible to recieve calls when the phone is in deep sleep?! Why not able to talk while the phone is sleeping. I don't understand too much but I think it's not a function which needs to keep the whole system awake.
It is not possible to have the phone in deep sleep while in call so the wakelock is irrelevant.
OK I accept that it is normal. Thanks.
Just to say for someone who may find it helpful. After I found that when on speaker proximity sensor manager is not active this way Android System not keeping the phone awake during call I decided to block the service with Amplify. The result is when normal talking the proximity is not working(not switching the screen off), but ANYWAY after my phone had the display changed It is not working the way it should. Even when the screen is off by the proximity I can still press buttons with my cheek, so I always turn the screen off manually using the power button. So switching the display off by the proximity is useless for me anyway just another service keeping the phone awake. I've seen people to complain about damaged proximity sensors and that the screen always goes black during call, this way the screen is always on, so maybe someone will find it helpful .

Weird Always on Sensor Condition

Hello guys
I have bought my pixel 3 xl recently
Today i tried to take a picture for my phone and it is locked ( screen off)
I noticed the sensor is always on in the notch
It is infrared sensor
I think it is the proximity sensor
I think this caused a huge battery drain in my phone
Maybe 2% per hour
Do you have the same sensor always on condition ?
Looks like the sensor is always on whenever the ambient display / double tap to check the phone is triggered
I have turned it off and i will monitor battery behavior
Eiad Ajam said:
Looks like the sensor is always on whenever the ambient display / double tap to check the phone is triggered
I have turned it off and i will monitor battery behavior
Click to expand...
Click to collapse
You shouldn't have to turn off AOD, and double tap does not use the proximity sensor. AOD is a key feature of the phone and I'm not seeing this. Try setting it back the way it was originally and running in safe mode to rule out a possible errant user app.
v12xke said:
You shouldn't have to turn off AOD, and double tap does not use the proximity sensor. AOD is a key feature of the phone and I'm not seeing this. Try setting it back the way it was originally and running in safe mode to rule out a possible errant user app.
Click to expand...
Click to collapse
Double tap to wake needs proximity sensor to detect if the phone in your pocket
I have disabled AOD and double tap to wake
My battery has improved, also the phone now has less battery drain.

Categories

Resources