···460460mnd_result_t
461461mnd_root_get_tracking_origin_name(mnd_root_t *root, uint32_t origin_id, const char **out_string);
462462463463+/*!
464464+ * Get battery status of a device.
465465+ *
466466+ * @param root The libmonado state.
467467+ * @param device_index Index of device to retrieve battery info from.
468468+ * @param[out] out_present Pointer to value to populate with whether the device provides battery status info.
469469+ * @param[out] out_charging Pointer to value to populate with whether the device is currently being charged.
470470+ * @param[out] out_charge Pointer to value to populate with the battery charge as a value between 0 and 1.
471471+ *
472472+ * @return MND_SUCCESS on success
473473+ */
474474+mnd_result_t
475475+mnd_root_get_device_battery_status(
476476+ mnd_root_t *root, uint32_t device_index, bool *out_present, bool *out_charging, float *out_charge);
477477+463478#ifdef __cplusplus
464479}
465480#endif