mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-16 20:57:33 +01:00
Fossil HR: added activity tracking for battery level updates
This commit is contained in:
parent
159a937cab
commit
ae503ec456
@ -79,7 +79,8 @@ public class QHybridCoordinator extends AbstractDeviceCoordinator {
|
||||
|
||||
@Override
|
||||
public boolean supportsActivityDataFetching() {
|
||||
return false;
|
||||
GBDevice connectedDevice = GBApplication.app().getDeviceManager().getSelectedDevice();
|
||||
return connectedDevice != null && connectedDevice.getType() == DeviceType.FOSSILQHYBRID && connectedDevice.getState() == GBDevice.State.INITIALIZED;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user