1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

Test device: Implement battery polling

This commit is contained in:
Martin.JM 2024-07-04 00:24:36 +02:00 committed by José Rebelo
parent 125e6371c3
commit 953d26ed71
2 changed files with 6 additions and 0 deletions

View File

@ -595,6 +595,11 @@ public class TestDeviceCoordinator extends AbstractDeviceCoordinator {
return supports(getTestDevice(), TestFeature.NOTIFICATION_LED_PATTERNS); return supports(getTestDevice(), TestFeature.NOTIFICATION_LED_PATTERNS);
} }
@Override
public boolean addBatteryPollingSettings() {
return supports(getTestDevice(), TestFeature.BATTERY_POLLING_SETTINGS);
}
@Override @Override
public AbstractNotificationPattern[] getNotificationVibrationPatterns() { public AbstractNotificationPattern[] getNotificationVibrationPatterns() {
// TODO getNotificationVibrationPatterns // TODO getNotificationVibrationPatterns

View File

@ -70,4 +70,5 @@ public enum TestFeature {
WEATHER, WEATHER,
WIDGETS, WIDGETS,
WORLD_CLOCKS, WORLD_CLOCKS,
BATTERY_POLLING_SETTINGS,
} }