1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 04:46:51 +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);
}
@Override
public boolean addBatteryPollingSettings() {
return supports(getTestDevice(), TestFeature.BATTERY_POLLING_SETTINGS);
}
@Override
public AbstractNotificationPattern[] getNotificationVibrationPatterns() {
// TODO getNotificationVibrationPatterns

View File

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