Rob Pilling
17a000ca24
drained: remember menu position
2024-11-06 07:39:10 +00:00
Rob Pilling
92348d8827
drained: menu is `Menu`, not `{...}` type
2024-11-06 07:38:52 +00:00
Rob Pilling
b721023daa
drained: only check for power-restore when charging
2024-10-29 21:21:32 +00:00
Rob Pilling
8742e11581
drained: fix not restoring when charge threshold met
...
previously the assumption was that the `"changing"` event would be fired
periodically when charging.
fixes #3625
2024-10-28 18:15:09 +00:00
Rob Pilling
32e3cc705d
drained: make it clear when charging, via the clock
2024-08-19 12:15:56 +01:00
Anton
a78858e1ac
Also lint typescript files
2024-05-04 23:21:43 +02:00
Anton
14787e495c
Revert "Enforce and fix typescript lints"
...
This reverts commit 5630b85918
.
2024-05-04 22:53:34 +02:00
Anton
5630b85918
Enforce and fix typescript lints
2024-04-29 18:20:17 +02:00
Rob Pilling
154a9075d5
drained: change enable/disable BLE depending on state
2024-03-27 12:39:43 +00:00
Rob Pilling
6fd81fd36a
drained: add more options to menu for escaping
2024-01-28 20:42:42 +00:00
Rob Pilling
d848d40a25
typescript: handle typings which now distinguish setTimeout/Interval
2023-06-13 23:23:54 +01:00
Rob Pilling
c9f4fd7cc7
drained: load boot exceptions (e.g. dst)
2023-05-07 10:43:42 +01:00
Rob Pilling
4d676a9e46
drained: infrastructure for boot exceptions
2023-05-07 10:43:28 +01:00
Rob Pilling
00cf120a28
drained: s/disableBoot/keepStartup/
2023-05-07 10:43:28 +01:00
Rob Pilling
cbc69c9275
drained: better clock alignment
2023-05-07 09:58:47 +01:00
Rob Pilling
16202c1843
drained: always check charge, regardless of boot-disable
2023-05-07 09:46:24 +01:00
Rob Pilling
f8fc93301e
drained: handle errors from bootupdate
...
Such as:
```
Uncaught ReferenceError: "bleServiceOptions" is not defined
at line 4 col 228 in .boot0
...ECwA=="));bleServiceOptions.hid=Bangle.HID;
^
at line 68 col 50 in drained.app.js
eval(require('Storage').read('bootupdate.js'));
^
```
2023-04-19 18:36:54 +01:00
Rob Pilling
73d41a40ff
drained: allow user to restore full-power mode
2023-04-19 18:36:54 +01:00
Rob Pilling
99a211a937
drained: publicise `drainedRestore()`
2023-04-19 18:36:54 +01:00
Rob Pilling
a28891e6df
drained: guard against BLE exceptions
2023-04-19 18:13:48 +01:00
Rob Pilling
d0ad4cd8df
drained: restore normal operation on sufficient charge
2023-04-19 18:13:23 +01:00
Rob Pilling
ea5acf0b12
drained: rearrange disabling/enabling bootcode
2023-04-13 18:38:39 +01:00
Rob Pilling
80a77772e8
drained: emit "drained" event
2023-04-13 18:35:41 +01:00
Rob Pilling
14ad4b760a
drained: add settings type
2023-04-13 18:05:26 +01:00
Rob Pilling
1aed25f05f
drained: use short booleans
2023-04-11 18:15:32 +01:00
thyttan
663ea983e4
Change to 'custom' setUI to not set btn watch
...
> ['clock' - called for clocks. Sets Bangle.CLOCK=1 and allows a button to start the launcher](https://www.espruino.com/Reference#l_Bangle_setUI )
2023-04-08 23:56:21 +02:00
Rob Pilling
923b5dbb96
drained: clearWatch() and turn off bluetooth
2023-04-08 08:25:54 +01:00
Rob Pilling
512381a2de
drained: increase clock font size
2023-04-07 22:32:38 +01:00
Rob Pilling
b5fec28e9f
drained: handle empty `_PWR`
2023-04-07 22:32:26 +01:00
Rob Pilling
92ff678ac0
drained: turn off wake-on-twist etc
2023-04-07 21:29:12 +01:00
Rob Pilling
a36e705d79
drained: force off gps/hrm
2023-04-07 21:29:12 +01:00
Rob Pilling
1fa36bd2b8
drained: rename from low-power-mode
2023-04-07 21:29:04 +01:00