With the Pebble watch battery life being so great, having battery status for the phone the watch is linked to might be more useful for a watch face.
Is there a method of accessing that?
With the Pebble watch battery life being so great, having battery status for the phone the watch is linked to might be more useful for a watch face.
Is there a method of accessing that?
Watchapps/watchfaces have access to the phone through the official Pebble app using Pebblekit JS. (PebbleKit JS // Pebble Developers)
The only three things explicitly allowed are internet access, geolocation, and localStorage.
Getting other phone information could be possible in a future update, but there is not currently a method of accessing things like phone battery level, phone sensor data, etc.
(A convoluted theoretical work-around would be for the user to have another app on their phone that publishes the wanted data to a webserver, then have the watchapp request that data from the webserver. This could be something like a private HomeAssistant instance.)
Since my phone is either in my pocket or backpack, I created a IFTTT applet so that if my phone battery is critically low, a notification is sent to my PT.
Coming soon™ as part of some cool new features
I used Automate to send my phone battery level to one of my personal websites and I read it from there.
Looking forward to it being supported directly.