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:
parent
125e6371c3
commit
953d26ed71
@ -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
|
||||
|
@ -70,4 +70,5 @@ public enum TestFeature {
|
||||
WEATHER,
|
||||
WIDGETS,
|
||||
WORLD_CLOCKS,
|
||||
BATTERY_POLLING_SETTINGS,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user