Skip to content
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

high battery usage overnight #19

Open
1 task done
jm355 opened this issue Aug 27, 2024 · 6 comments
Open
1 task done

high battery usage overnight #19

jm355 opened this issue Aug 27, 2024 · 6 comments

Comments

@jm355
Copy link

jm355 commented Aug 27, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

I'm getting high battery usage from molly overnight even tho I'm using molly-UP, with mollysocket and ntfy all set up. It used to not drain so much

Screenshot_20240827-060354
Screenshot_20240827-060409
Screenshot_20240827-060419
In these screenshots the vpn uses a lot, the night before the vpn battery use was minimal and it was all molly
Screenshot_20240826-104440

Steps to reproduce

1.Set up molly-UP, mollysocket, and ntfy
2.leave molly unlocked overnight

Molly version

v7.13.4-1.UP1-FOSS

Android version

14 (grapheneos)

Device

pixel 8

Link to debug log

https://debuglogs.org/android/7.13.4/b6952223070b5ffd43f81b8ac65dfea3a1a37a57be731b0193cd279955af4ce7

@p1gp1g
Copy link
Member

p1gp1g commented Sep 4, 2024

This new view about battery usage is not very handy. Here molly is around 4% for 6 hours. Which is high if you use unifiedpush. And I don't see anything wrong in the logs. Can you try to disable battery optimization ? You have to enable “Allow background usage” (which is already allowed), and the click on this label to open a new menu, then thick “Unrestricted”.

@jm355
Copy link
Author

jm355 commented Sep 4, 2024

Yep, I'll try it out and let you know how it goes

@jm355
Copy link
Author

jm355 commented Sep 5, 2024

That solved it!

@jayb-g
Copy link

jayb-g commented Sep 17, 2024

The issue is still there, dont know what is causing it as it is not consistent.

I have battery usage not as much shown by OP but i have always had those settings with unrestricted and it still uses 4-15% battery overall from 100% to 0% of phone usage.

How to help troubleshoot this?

img

@p1gp1g
Copy link
Member

p1gp1g commented Sep 17, 2024

It is OK to use some battery if you use it. There is also the backup job that can take some resources.

Nevertheless, I can give a look at your logs if you want

@jayb-g
Copy link

jayb-g commented Sep 17, 2024

As it shows, I have used it only for 39mins in more than 24h, and only 2-4 min of voice calling during entire period. I already have scheduled backups disabled because it uses a lot of battery especially if app data size is large.

And i'm mostly using wifi. On mobile data it sometimes become more than 20-40%.

Even with normal usage, either on mobile data/wifi, isn't it expected to use up to 5% at most? Just trying to understand how much it should use for normal(mostly idle) usage. And does/can it correlate in any way to the app data size?

Nevertheless, I can give a look at your logs if you want

Sure, would debug logs from the app help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants