FORUMS

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you … more

Xposed 3.0 Alpha 3 Released

A new alpha for the Xposed framework is out and brings several bug fixes. You’ll only need to flash … more

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more

 View Poll Results: I would donate $x for a 'fix'...

$5
 
21 Vote(s)
55.26%
$10
 
9 Vote(s)
23.68%
$15
 
1 Vote(s)
2.63%
$20
 
2 Vote(s)
5.26%
$25
 
1 Vote(s)
2.63%
>$25
 
4 Vote(s)
10.53%
Post Reply Subscribe to Thread Email Thread

[POLL][BOUNTY] DT2W battery drain fix like LG G2 (bump if you vote)

30th May 2014, 08:31 PM |#21  
Junior Member
Thanks Meter: 6
 
More
Try turning gps off for a day and youll notice the sudden drain cease 50%, but still need the camera fix.
 
 
5th June 2014, 05:58 PM |#22  
OP Senior Member
Flag Atlanta
Thanks Meter: 76
 
More
Quote:
Originally Posted by flar2

Note the red line going from PMIC_1 to the LCD panel. The Touch panel shares power with the LCD panel, and it's routed through the panel on its way to the touch sensor. The only other connection to Touch is the i2c bus. Without power, it can't sense touches and trigger the interrupt.

The way I got it to detect touches during suspend was to modify the touch panel driver so it doesn't send the command to power off the panel when sweep2wake or doubletap2wake are enabled: https://github.com/flar2/ElementalX-...bccb77014b31a7

Since then, I've messed around with the regulators, off cmds and clocks trying to reduce the power consumption, but drain remains at about 2.5% per hour with the wake features enabled.

Thanks for posting.

-do we have a similar diagram for the LG G2; is the touch panel powered off the LCD panel's vrail like N5?
-How did we determine that
Code:
ctrl->off_cmds.cmds[1].payload[0] = 0x11
is what is needed to do this? Can we just try sending 1-255 to see what happens? IE we find a way to keep the LCD powered, but shut it off so it's not actually using power. I presume the only way to do this would be to find a command or register value on the touch I2C that powers off the LCD panel. How many addresses are there that we need to test write values to to find said needle?
-Are we talking an LG internal spec sheet or an I2C slave sheet? It would be possible to find the latter with the right connections....
5th June 2014, 06:20 PM |#23  
flar2's Avatar
Recognized Developer
Flag Ottawa
Thanks Meter: 36,348
 
Donate to Me
More
Quote:
Originally Posted by rancur3p1c

Thanks for posting.

-do we have a similar diagram for the LG G2; is the touch panel powered off the LCD panel's vrail like N5?
-How did we determine that

Code:
ctrl->off_cmds.cmds[1].payload[0] = 0x11
is what is needed to do this? Can we just try sending 1-255 to see what happens? IE we find a way to keep the LCD powered, but shut it off so it's not actually using power. I presume the only way to do this would be to find a command or register value on the touch I2C that powers off the LCD panel. How many addresses are there that we need to test write values to to find said needle?
-Are we talking an LG internal spec sheet or an I2C slave sheet? It would be possible to find the latter with the right connections....

Not sure if the magic needs to happen in the panel ic or the touch ic.

I will look for the lg g2 service manual when I have a chance.

You can put any number in the off_cmds and the touch screen will stay on. The only command that "does something" is 0x10, which powers off screen (no drain, no response from touch irq). I can't find any documentation online, but the commands look similar on other msm8974 devices.
The Following 5 Users Say Thank You to flar2 For This Useful Post: [ View ]
6th June 2014, 04:40 PM |#24  
OP Senior Member
Flag Atlanta
Thanks Meter: 76
 
More
Quote:
Originally Posted by flar2

Not sure if the magic needs to happen in the panel ic or the touch ic.

I will look for the lg g2 service manual when I have a chance.

You can put any number in the off_cmds and the touch screen will stay on. The only command that "does something" is 0x10, which powers off screen (no drain, no response from touch irq). I can't find any documentation online, but the commands look similar on other msm8974 devices.

I'm sure you've already covered all the bases.
18th June 2014, 10:40 AM |#25  
Senior Member
Thanks Meter: 228
 
More
you can make time based Tasker profile to save power during night, toggling 2wake on and off.
Code:
echo 0 > /sys/android_touch/doubletap2wake
Code:
echo 1 > /sys/android_touch/doubletap2wake
testing Proximity Sensor based Tasker profile with simillar variables to check if it drains less, then 2w listener, when sensor is covered, but doesen't seem like a real difference.
18th June 2014, 11:00 AM |#26  
Elluel's Avatar
Recognized Contributor
Flag えうれる
Thanks Meter: 3,189
 
More
Quote:
Originally Posted by oo0

you can make time based Tasker profile to save power during night, toggling 2wake on and off.

Code:
echo 0 > /sys/android_touch/doubletap2wake
Code:
echo 1 > /sys/android_touch/doubletap2wake
testing Proximity Sensor based Tasker profile with simillar variables to check if it drains less, then 2w listener, when sensor is covered, but doesen't seem like a real difference.

What this thread is for is to aim to reduce the battery consumption for the feature, not a workaround as people have already been doing that.

However, it seems unlikely as it might be a hardware limitation.

Sent from my Nexus 5
The Following 2 Users Say Thank You to Elluel For This Useful Post: [ View ]
17th September 2014, 06:12 PM |#27  
dmo580's Avatar
Senior Member
Thanks Meter: 628
 
More
Any update? Thanks!
18th September 2014, 10:55 AM |#28  
Elluel's Avatar
Recognized Contributor
Flag えうれる
Thanks Meter: 3,189
 
More
Quote:
Originally Posted by dmo580

Any update? Thanks!

Still a hardware limitation as far as anyone knows yet.
The Following User Says Thank You to Elluel For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes