ReadonlybatteryThe current battery level of the device, represented as a percentage (0-100).
ReadonlyisIndicates whether the device is currently charging.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Stores the battery level and charging state of the device. Used as argument with the onBatteryStateChanged event.
Since
Lens Scripting Version 364
Snap OS