Bangle.js: fix battery chart #2582

Merged
ashimokawa merged 1 commits from :banglejs-battery-fix into master 2022-02-02 10:20:44 +00:00
Contributor

Battery percentages were shown in gadgetbridge, but not stored, so the chart didn't work.
See http://forum.espruino.com/conversations/371695/

Call AbstractDeviceSupport.handleGBDeviceEvent() instead of rolling our own battery update,
and that does call createStoreTask()

Battery percentages were shown in gadgetbridge, but not stored, so the chart didn't work. See http://forum.espruino.com/conversations/371695/ Call AbstractDeviceSupport.handleGBDeviceEvent() instead of rolling our own battery update, and that does call createStoreTask()
rigrig added 1 commit 2022-02-01 20:03:36 +00:00
ci/woodpecker/pr/can_master_build Pipeline is pending Details
267aca94b9
Bangle.js: fix battery chart
Battery percentages were shown in gadgetbridge, but not stored, so the chart didn't work.

Call AbstractDeviceSupport.handleGBDeviceEvent() instead of rolling our own battery update,
and that does call createStoreTask()
Owner

@rigrig

Thanks! It is always better to use Gadgetbridge framework code :)

@rigrig Thanks! It is always better to use Gadgetbridge framework code :)
ashimokawa merged commit 42e0a63429 into master 2022-02-02 10:20:44 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Freeyourgadget/Gadgetbridge#2582
No description provided.