diff options
Diffstat (limited to 'core/os/power.h')
-rw-r--r-- | core/os/power.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/core/os/power.h b/core/os/power.h index c92348ff50..9e70e82f5d 100644 --- a/core/os/power.h +++ b/core/os/power.h @@ -30,15 +30,12 @@ #ifndef CORE_OS_POWER_H_ #define CORE_OS_POWER_H_ - -typedef enum -{ - POWERSTATE_UNKNOWN, /**< cannot determine power status */ - POWERSTATE_ON_BATTERY, /**< Not plugged in, running on the battery */ - POWERSTATE_NO_BATTERY, /**< Plugged in, no battery available */ - POWERSTATE_CHARGING, /**< Plugged in, charging battery */ - POWERSTATE_CHARGED /**< Plugged in, battery charged */ +typedef enum { + POWERSTATE_UNKNOWN, /**< cannot determine power status */ + POWERSTATE_ON_BATTERY, /**< Not plugged in, running on the battery */ + POWERSTATE_NO_BATTERY, /**< Plugged in, no battery available */ + POWERSTATE_CHARGING, /**< Plugged in, charging battery */ + POWERSTATE_CHARGED /**< Plugged in, battery charged */ } PowerState; - #endif /* CORE_OS_POWER_H_ */ |