Skip to content

Excessive background battery drain (Andriod) #200

Description

@juliuswms

What happened?

On Android, the app consumes a lot of battery in the background (~22.1% battery with 15 minutes of screen-on time). This makes daily-use and stress testing impractical.

Steps to reproduce

  1. Install app
  2. Keep it running in the background

App version

0.9.21+52

Platform

Android (APK)

Phone model and OS version

Samsung Galaxy S22, Android 16

Which band?

WHOOP 4.0

Screenshots

Image Image

From looking at the code and with the help of DeepSeek I was able to understand that after the App starts, the BLE Connection is opened indefinitely. Pulling the heartbeat very frequently (10s) and pulling the banked data from the WHOOP every 15 min. My guess would be that this constant BLE connection is the reason the battery drain is this high. Maybe with a "Power save" option it could only connected every 15 min, pull the banked data and close the BLE Connection again (I guess this would come with the downside of not being able to use the Double-Tap on the WHOOP to eg. skip a song. Seeing that that would require a constant connection).
I also understand that power optimization at the start of a project like this one is not as much of a focus as new features but for me it makes daily driving this App kinda hard.

Quick checks

  • The official WHOOP app is not also connected to this band
  • I've searched existing issues for this

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions