Solid
battery.cpp
Go to the documentation of this file.
int chargePercent() const
Retrieves the current charge level of the battery normalised to percent.
int capacity() const
Retrieves the battery capacity normalised to percent, meaning how much energy can it hold compared to...
#define return_SOLID_CALL(Type, Object, Default, Method)
Definition: soliddefs_p.h:26
bool isPowerSupply() const
Indicates if this battery is powering the machine or from an attached deviced.
Definition: battery.cpp:57
BatteryType
This enum type defines the type of the device holding the battery.
Definition: battery.h:65
ChargeState chargeState() const
Retrieves the current charge state of the battery.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.