BlueZ doesn't report charge state, only percentage, so it is unfortunately always NoCharge for them.
Add an additional guard to check for "0%" charge explicitly just in case.
Details
Details
- Reviewers
- None
- Group Reviewers
Plasma - Commits
- R122:14212f78de5f: Show peripheral low battery notification for NoCharge
- Got a notificaton about my headphones running low
Diff Detail
Diff Detail
- Repository
- R122 Powerdevil
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.