Skip to content

Workaround needed to disable battery optimisation on android tv #2199

Description

@hgOscNor

Have you checked if an issue already exists for this bug?

  • Nobody else has reported this bug before

Have you tried restarting your device?

  • I have tried restarting my device and that did not help

What happened that you did not expect?

When first opening the app you get promted to disable battery optimisation. The battery optimisation settings does not exist on android tv. Thee workaround I used was connecting the to tv tv via android debug bridge and then running adb shell dumpsys deviceidle whitelist +io.github.sds100.keymapper. Doing this fixed the the problem and removed the promt.

What did you expect to happen?

When I pressed the fix button I expected the promt to vanish.
Alternatively I expected the promt to walk me trough connecting with adb and running the line mentioned before.

What would the developer need to do to reproduce the bug?

No response

App version

4.3.0

Android version

android tv 16 (LineageOS 23.2 Android TV)

Device model and manufacturer

Raspberry Pi 4

Extra info

  • My device is rooted

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds triagetvIssue specifc to Android TV

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions