Track charging status

pull/3156/head
Felipe Manga 2024-01-15 10:19:50 +00:00
parent 15b6d92bff
commit d202e4c76e
1 changed files with 5 additions and 0 deletions

View File

@ -621,3 +621,8 @@ Bangle.on("lock", l => {
locked = l;
setupInterval();
});
Bangle.on('charging', c => {
charging = c;
setupInterval();
});