Classes | |
| struct | BatteryObserver |
| struct | StateController |
Enumerations | |
| enum | Level { Level::unknown, Level::ok, Level::low, Level::very_low, Level::critical } |
| enum | DisplayState { DisplayState::off = 0, DisplayState::on = 1 } |
| enum | SystemState { SystemState::suspend = 0, SystemState::active = 1, SystemState::blank_on_proximity = 2 } |
Functions | |
| core::ubuntu::media::power::BatteryObserver::Ptr | make_platform_default_battery_observer (core::ubuntu::media::helper::ExternalServices &) |
| StateController::Ptr | make_platform_default_state_controller (core::ubuntu::media::helper::ExternalServices &) |
| std::ostream & | operator<< (std::ostream &out, DisplayState state) |
| std::ostream & | operator<< (std::ostream &out, SystemState state) |
|
strong |
| Enumerator | |
|---|---|
| off | |
| on | |
Definition at line 37 of file state_controller.h.
|
strong |
| Enumerator | |
|---|---|
| unknown | |
| ok | |
| low | |
| very_low | |
| critical | |
Definition at line 36 of file battery_observer.h.
|
strong |
| Enumerator | |
|---|---|
| suspend | |
| active | |
| blank_on_proximity | |
Definition at line 46 of file state_controller.h.
| core::ubuntu::media::power::BatteryObserver::Ptr core::ubuntu::media::power::make_platform_default_battery_observer | ( | core::ubuntu::media::helper::ExternalServices & | ) |
| StateController::Ptr core::ubuntu::media::power::make_platform_default_state_controller | ( | core::ubuntu::media::helper::ExternalServices & | ) |
Referenced by com::canonical::powerd::Interface::path().
| std::ostream& core::ubuntu::media::power::operator<< | ( | std::ostream & | out, |
| DisplayState | state | ||
| ) |
| std::ostream& core::ubuntu::media::power::operator<< | ( | std::ostream & | out, |
| SystemState | state | ||
| ) |