Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Public Attributes | List of all members
ersa::events::BatteryPayload Struct Reference

#include <event.h>

Public Attributes

uint16_t millivolts {0}
 
uint8_t percentage {100}
 
bool connected {false}
 
bool charging {false}
 

Detailed Description

Battery sample shared by battery-changed and low-battery events.

Member Data Documentation

◆ charging

bool ersa::events::BatteryPayload::charging {false}

◆ connected

bool ersa::events::BatteryPayload::connected {false}

◆ millivolts

uint16_t ersa::events::BatteryPayload::millivolts {0}

◆ percentage

uint8_t ersa::events::BatteryPayload::percentage {100}

The documentation for this struct was generated from the following file: