Lock battery status

Endpoints that return Lock data now contain a new property intended to display Lock's battery information.

The batteryStatus object contains two properties: batteryLevel uses a string to represent the battery level reading, and batteryLevelLastUpdated states the date the measurement was made.

Battery level stringMeaning
HighThe battery is OK.
LowThe battery should be replaced.
NotAvailableThe Lock doesn't expose a battery level measurement, or we can't measure it.
NoRecentMeasurementThe previous battery level measurement is too old.

Note: Lock battery status is currently only available for Danalock V3 Locks. We're working on bringing battery status information to more Locks in the future.