#include <phosphor-services/include/PhosphorServices/UPowerDevice.h>
|
| enum | DeviceState {
UnknownState = 0
, Charging = 1
, Discharging = 2
, Empty = 3
,
FullyCharged = 4
, PendingCharge = 5
, PendingDischarge = 6
} |
| |
| enum | DeviceType {
UnknownType = 0
, LinePower = 1
, Battery = 2
, Ups = 3
,
Monitor = 4
, Mouse = 5
, Keyboard = 6
, Pda = 7
,
Phone = 8
, MediaPlayer = 9
} |
| |
◆ DeviceState
| Enumerator |
|---|
| UnknownState | |
| Charging | |
| Discharging | |
| Empty | |
| FullyCharged | |
| PendingCharge | |
| PendingDischarge | |
◆ DeviceType
| Enumerator |
|---|
| UnknownType | |
| LinePower | |
| Battery | |
| Ups | |
| Monitor | |
| Mouse | |
| Keyboard | |
| Pda | |
| Phone | |
| MediaPlayer | |
◆ UPowerDevice()
| PhosphorServices::UPowerDevice::UPowerDevice |
( |
const QString & |
dbusPath, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~UPowerDevice()
| PhosphorServices::UPowerDevice::~UPowerDevice |
( |
| ) |
|
|
override |
◆ dbusPath()
| QString PhosphorServices::UPowerDevice::dbusPath |
( |
| ) |
const |
◆ energy()
| qreal PhosphorServices::UPowerDevice::energy |
( |
| ) |
const |
◆ energyCapacity()
| qreal PhosphorServices::UPowerDevice::energyCapacity |
( |
| ) |
const |
◆ energyCapacityChanged
| void PhosphorServices::UPowerDevice::energyCapacityChanged |
( |
| ) |
|
|
signal |
◆ energyChanged
| void PhosphorServices::UPowerDevice::energyChanged |
( |
| ) |
|
|
signal |
◆ energyFullDesign()
| qreal PhosphorServices::UPowerDevice::energyFullDesign |
( |
| ) |
const |
◆ energyFullDesignChanged
| void PhosphorServices::UPowerDevice::energyFullDesignChanged |
( |
| ) |
|
|
signal |
◆ energyRate()
| qreal PhosphorServices::UPowerDevice::energyRate |
( |
| ) |
const |
◆ energyRateChanged
| void PhosphorServices::UPowerDevice::energyRateChanged |
( |
| ) |
|
|
signal |
◆ healthPercentage()
| qreal PhosphorServices::UPowerDevice::healthPercentage |
( |
| ) |
const |
◆ healthPercentageChanged
| void PhosphorServices::UPowerDevice::healthPercentageChanged |
( |
| ) |
|
|
signal |
◆ iconName()
| QString PhosphorServices::UPowerDevice::iconName |
( |
| ) |
const |
◆ iconNameChanged
| void PhosphorServices::UPowerDevice::iconNameChanged |
( |
| ) |
|
|
signal |
◆ isLaptopBattery()
| bool PhosphorServices::UPowerDevice::isLaptopBattery |
( |
| ) |
const |
◆ isLaptopBatteryChanged
| void PhosphorServices::UPowerDevice::isLaptopBatteryChanged |
( |
| ) |
|
|
signal |
◆ isPresent()
| bool PhosphorServices::UPowerDevice::isPresent |
( |
| ) |
const |
◆ isPresentChanged
| void PhosphorServices::UPowerDevice::isPresentChanged |
( |
| ) |
|
|
signal |
◆ model()
| QString PhosphorServices::UPowerDevice::model |
( |
| ) |
const |
◆ modelChanged
| void PhosphorServices::UPowerDevice::modelChanged |
( |
| ) |
|
|
signal |
◆ nativePath()
| QString PhosphorServices::UPowerDevice::nativePath |
( |
| ) |
const |
◆ nativePathChanged
| void PhosphorServices::UPowerDevice::nativePathChanged |
( |
| ) |
|
|
signal |
◆ percentage()
| qreal PhosphorServices::UPowerDevice::percentage |
( |
| ) |
const |
◆ percentageChanged
| void PhosphorServices::UPowerDevice::percentageChanged |
( |
| ) |
|
|
signal |
◆ powerSupply()
| bool PhosphorServices::UPowerDevice::powerSupply |
( |
| ) |
const |
◆ powerSupplyChanged
| void PhosphorServices::UPowerDevice::powerSupplyChanged |
( |
| ) |
|
|
signal |
◆ propertiesRefreshed
| void PhosphorServices::UPowerDevice::propertiesRefreshed |
( |
| ) |
|
|
signal |
◆ state()
| DeviceState PhosphorServices::UPowerDevice::state |
( |
| ) |
const |
◆ stateChanged
| void PhosphorServices::UPowerDevice::stateChanged |
( |
| ) |
|
|
signal |
◆ timeToEmpty()
| qreal PhosphorServices::UPowerDevice::timeToEmpty |
( |
| ) |
const |
◆ timeToEmptyChanged
| void PhosphorServices::UPowerDevice::timeToEmptyChanged |
( |
| ) |
|
|
signal |
◆ timeToFull()
| qreal PhosphorServices::UPowerDevice::timeToFull |
( |
| ) |
const |
◆ timeToFullChanged
| void PhosphorServices::UPowerDevice::timeToFullChanged |
( |
| ) |
|
|
signal |
◆ type()
| DeviceType PhosphorServices::UPowerDevice::type |
( |
| ) |
const |
◆ typeChanged
| void PhosphorServices::UPowerDevice::typeChanged |
( |
| ) |
|
|
signal |
The documentation for this class was generated from the following file: