-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Still huge offline drain duo2 #130
Comments
Is this with the wireless pen charger turned off? |
Try enabling and disabling, it looks like the default value needs to be set internally. Otherwise, it shows here that it is disabled while internally it is enabled. I will fix it internally for the next update. |
I am closing this issue, feel free to open it again if enabling and disabling doesn't work. I added the internal default value to the sources, so in the next build internally it will be switched off until the manually turned on. |
tried that too, didn't work :/ |
Mmm, interesting. Can you get the output of the following commands? adb shell
cat /sys/devices/platform/soc/soc:surface_util/ms_pen_charger/ms_pen_charger Does anyone else have the same issue? |
sadly my pc is still not working, ill test this as soon as it's ready |
I am getting permission denied when running the 'cat' command. But not seeing a massive difference in battery drain between pen charging on or off |
If it is getting permission denied, there is a problem. @Ethanol10, I changed the permission for the pen charger file at boot time. But this looks like it is not taking effect. |
Is the permission set such that user apps can change it too? I can see using ls -Z that the file has Also, using |
You are correct, adb shell
ls /sys/devices/platform/soc/soc:surface_util/ms_pen_charger/
ls /sys/devices/platform/soc/soc:surface_util/
ls /sys/devices/platform/soc/
ls -l ls /sys/devices/platform/soc/soc:surface_util/ms_pen_charger/
ls -l /sys/devices/platform/soc/soc:surface_util/
ls -l /sys/devices/platform/soc/ |
Here you go
|
@oilcan-productions thanks for this. Could you please get the output for this command as well? adb shell
ls -l /sys/devices/platform/soc/soc:surface_util/ms_pen_charger/ms_pen_charger Do you have access to a pen? Could you please check whether the charger turns on and off with the toggle as well? |
Yes, I have a pen and the pen case on my Duo 2. I can confirm that the toggle works. The toggle is off after clean flash and the charger is off as well. When I turn it on the pen starts charging. |
That means the pen charger is working correctly and the unusual battery drain is from another source. |
I just clean flashed this morning so not representative right now. I will keep monitoring the battery drain. AS I said I have not noticed a significant difference between pen or no pen charger. I still feel it is VoLTE.iWLAN that chews the battery up. |
If someone could test that by leaving the Duo2 on airplane mode and seeing if the drain still occurs, that would be a good indicator. |
Testing now, will report back once it is charged to 100% and a few hours went in |
So far so good. 60 minutes after hitting 100%charge on airplane mode no loss of charge. Pen charger is on pen is paired and docked. |
If Play Services is draining the battery, it should affect both duo1 and duo2 similarly unless it is a problem specific to LTE. |
play services is not the cause of this, the way android tracks battery is really flawed and if there is an issue where there is abnormal drain, android blames and always active app. With airplane mode enabled, i did lose a little less battery overnight, but still 91 --> 67% so still very abnormal. |
Does Stock 12L Exhibit the same issues? e,g airplane mode on, pen charger on etc. |
@Ethanol10 I have a12L device sitting right next to the A15 Duo 2 and do not see that high a drain, same configuration with Pen attached, same mobile network.
|
One possible reason that could be causing battery drain is that the fingerprint reader is always active and can unlock the device even while it is folded up. |
i don't think so, most androids work this way. my tab s7 and galaxy s9 / s10 had always active fingerprints too and could go into doze |
When I check the battery usage on mine, Trebuchet is the main culprit. |
you can not use the battery app to check for abnormal drain sadly. googles sloppy coding doesn't allow for that really. My tab s7 had a similar issue, i think the play services got blamed for abnormal drain, when i checked i saw the cpu being really high used, i think 80% of the drain or so was it (extremely abnormal for the efficient 865+). I noticed that an app was constantly crashing in the background, on this case it was the android telephone subsystem so i deleted it with adb and it got fixed. main point tho, the real issue, this app, never showed up in the android battery settings app. |
Another data point: Top battery users: Trebuchet: I turned off "Allow background usage" for Trebuchet, left for a few hours and came back to see that the background usage went up to 14 hrs. |
I don't believe the stock Duo OS allows you to use the fingerprint reader to unlock the device while it is closed |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Acknowledgements
Info
Expected Behavior
With this update the offline drain should be fixed
Current Behavior
It's not, the pen charging option is disabled!
Possible Solution
No response
Steps to Reproduce
Logs
No response
Additional context
The text was updated successfully, but these errors were encountered: