Rob Pilling
c39a88f37b
drained: add app icon
2023-04-24 21:51:02 +01:00
Rob Pilling
fc82d3b13b
Update typescript & remove "use strict"s
2023-04-20 13:09:52 +01:00
Rob Pilling
524b204a30
drained: document features in README
2023-04-19 22:40:54 +01:00
Rob Pilling
96c8b9e49d
drained: regenerate JS
2023-04-19 18:36:54 +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
c7aa2b3655
drained: load self on startup
...
this allows us to then control restoring normal operation
2023-04-19 18:14:10 +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
ab75d5b353
Regenerate JS
2023-04-13 18:07:46 +01:00
Rob Pilling
49527fbd22
drained: add ability to disable other boot code
2023-04-13 18:07:46 +01:00
Rob Pilling
14ad4b760a
drained: add settings type
2023-04-13 18:05:26 +01:00
Rob Pilling
671ee4af7a
drained: fit settings prompts into screen (and format)
2023-04-13 17:52:09 +01:00
Rob Pilling
4a8cd6e7a8
Regenerate typescript
2023-04-13 17:52:04 +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
105da767b7
drained: generate js
2023-04-08 08:26:10 +01:00
Rob Pilling
923b5dbb96
drained: clearWatch() and turn off bluetooth
2023-04-08 08:25:54 +01:00
Rob Pilling
9c643f6b5d
drained: configure battery% and check interval
2023-04-08 08:25:27 +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
10881c9336
drained: tweak readme
2023-04-07 21:53:07 +01:00
Rob Pilling
1f35c9825a
drained: regenerate js
2023-04-07 21:29:12 +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
39aa8e7e7b
drained: enable emulator
2023-04-07 21:29:12 +01:00
Rob Pilling
2de5831827
drained: add icon
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