nextcloud / nextcloud/talk-android
Battery draining when wifi is disabled
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
Steps to reproduce
- Install Nextcloud Talk App (Google Version)
- Disable wifi
- Google Play Service is draining battery
Expected behaviour
Same like wifi is enabled.
Actual behaviour
Draining battery by Google Play services when wifi is disabled.
Device brand and model
Google Pixel 6a
Android version
15
Nextcloud Talk app version
20.0.5
Nextcloud server version
30.0.2
Talk version
20.0.2
Custom Signaling server configured
None
Custom TURN server configured
None
Custom STUN server configured
None
Android logs
Meta-Information
Erzeugung des Systemberichts
18.11.2024 21:14:28
Telefon
Gerät
Google Pixel 6a
Android-Version
35
Google Play-Dienste
Google Play-Dienste sind verfügbar
App
App-Name
Nextcloud Talk
App-Version
v20.0.5
Build flavor
gplay
Batterie-Einstellungen
Batterieoptimierung wird ignoriert, alles in Ordnung
Benachrichtigungsberechtigungen
Benachrichtigungen werden gewährt
Anrufbenachrichtigungskanal aktiviert?
Ja
Nachrichtenbenachrichtigungskanal aktiviert?
Ja
Firebase-Push-Token
cmeNo...
Neueste Firebase-Push-Token-Generation
18.11.2024 21:13:25
Neuester Firebase-Push-Token-Abruf
18.11.2024 21:13:59
Registrierte Benutzer
1
Aktuelles Konto
Server
Benutzer
xxxxxxxxx
Benutzerstatus aktiviert?
Unbekannt
Server-Benachrichtigungs-App installiert?
Ja
Aktuelle Push-Registrierung am Server
18.11.2024 21:13:59
Aktuelle Push-Registrierung beim Push-Proxy
18.11.2024 21:13:59
Serverversion
30.0.2
Serverversion von Talk
20.0.2
Signalisierungsmodus
Intern
Server log
Additional information
I'm using Nextcloud Talk App for the first time on android. There are no problems with push notifications.
The first screenshot is on mobile data, the second on wifi. Google Play Services never had so much battery usage before (normally <1%)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files, tests, or entry points are named. Start by reproducing the battery drain on the listed Pixel 6a and Android 15 setup with Wi-Fi disabled, then inspect Android and Firebase/Google Play Services diagnostics around Talk's push registration and network behavior. Done means identifying a reproducible app cause and adding a verified fix or a project-specific finding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, firebase, kotlin
- Domain
- mobile, networking, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100