Update bluetooth battery indicator padding and provide option to define when to show battery icon. (#403)

* Update bluetooth battery indicator visuals and behavior.

* Remove log

* Update default battery state to paired.

* Change to connected
This commit is contained in:
Jas Singh
2024-10-30 02:34:04 -07:00
committed by GitHub
parent 9bb582c8cf
commit 776e07b7bc
6 changed files with 225 additions and 177 deletions

View File

@@ -18,6 +18,12 @@ export const BluetoothMenuSettings = (): Scrollable<Child, Attribute> => {
title: 'Show Battery Percentage for Connected Devices (If Supported)',
type: 'boolean',
}),
Option({
opt: options.menus.bluetooth.batteryState,
title: 'Show Battery When',
type: 'enum',
enums: ['connected', 'paired', 'always'],
}),
Option({
opt: options.menus.bluetooth.batteryIcon,
title: 'Battery Icon',