For charging there is Bangle.isCharging.
"Not on a wrist" is tricky, but I guess you could use the accelerometer and check if there is no movement for a certain period. Maybe even check for x and y being zero if you always place it face up/down.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
For charging there is Bangle.isCharging.
"Not on a wrist" is tricky, but I guess you could use the accelerometer and check if there is no movement for a certain period. Maybe even check for
x
andy
being zero if you always place it face up/down.