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

Is more than 10% battery usage normal? #90

Open
jayb-g opened this issue Sep 15, 2024 · 13 comments
Open

Is more than 10% battery usage normal? #90

jayb-g opened this issue Sep 15, 2024 · 13 comments

Comments

@jayb-g
Copy link

jayb-g commented Sep 15, 2024

I tested this app on a degoogled android and it gives more than 10% battery usage. The least I have seen is 4-5%.

This is on Mobile data, no WiFi.
On (mostly)WiFi it seems to work fine with <1% battery usage.

All default settings. With only molly unifiedpush setup with it.

Battery optimization is disabled for both ntfy and molly-up

Is this normal battery usage for ntfy?

Android 14 latest on Pixel 7

@Kuchteq
Copy link

Kuchteq commented Oct 2, 2024

On Pixel 8 GrapheneOS it is around 50 for me, often more than that
Screenshot_20241002-215341
Don't know what causes it

@jayb-g
Copy link
Author

jayb-g commented Oct 3, 2024

The issue is mostly when on mobile data. On wifi it seems to work fine

@etam
Copy link

etam commented Oct 4, 2024

I just noticed this as well:
Screenshot_20241003-090556_Ustawienia

@titulebolide
Copy link

Same issue, ntfy app is responsable of half of my battery usage. I'm using unified push.

@Glareascum
Copy link

Glareascum commented Oct 8, 2024

I don't have this problem, I'm using unified push, and with 4hours of background work it's just <1% battery. I'm on LineageOS Android 14.
I'm using it for unified push and custom topics on a self hosted instance

@titulebolide
Copy link

@Glareascum this is interesting!
Did you disabled battery optimisation?
Are you using websockets?
I'm running e/OS 2.x which is based on Lineage (18 IIRC)

@Glareascum
Copy link

@Glareascum this is interesting! Did you disabled battery optimisation? Are you using websockets? I'm running e/OS 2.x which is based on Lineage (18 IIRC)

Yep I disabled battery optimisation and using websockets. I'm on LineageOS 21

@Glareascum
Copy link

As per #1 , you should open a ticket on the main repo to get more support

@jayb-g
Copy link
Author

jayb-g commented Oct 8, 2024

I don't have this problem, I'm using unified push, and with 4hours of background work it's just <1% battery. I'm on LineageOS Android 14.
I'm using it for unified push and custom topics on a self hosted instance

Was this entirely/mostly on wifi ?

@Glareascum
Copy link

I don't have this problem, I'm using unified push, and with 4hours of background work it's just <1% battery. I'm on LineageOS Android 14.
I'm using it for unified push and custom topics on a self hosted instance

Was this entirely/mostly on wifi ?

Yes mostly on wifi, but there are days where I'm mostly in lte and I didn't notice anything different

@titulebolide
Copy link

@Glareascum do you self host your ntfy server? If yes, would you mind giving a peak to the kind of perf you are having with your server? Mine is not the quickest fox in the forest, but I can hardly imagine its low specs being linked to my battery drainage.

@titulebolide
Copy link

Hi, I noticed yesterday that battery optimisation was enabled for ntfy. To match @Glareascum setup, I disabled it. My battery drainage significantly dropped and is below 1% now. At the same time yesterday it was over 10%.

@Ilav1
Copy link

Ilav1 commented Oct 16, 2024

I also have battery draining problem on Adndroid 14 (Pixel 6a).
When battery optimisation is disabled everything is working fine but the battery usage of ntfy is very high.
When battery optimisation is enabled, I dont get the notifications immediately. There are hours between sending and recieving on mobile phone...

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

No branches or pull requests

6 participants