Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt c++: how to check battery level (Laptop)
spode last edited by
How to get to know the battery level of a laptop in C++?
Jeroentjehome last edited by
Better start looking for a WinAPI or other OS options. It's not really C++ issue to handle battery levels.
good luck finding!
Wurstinator last edited by
For Windows check out GetSystemPowerStatus function of the WinAPI.
tomma last edited by
Both Qt-Mobilty and Qt5 has API:
I have no idea which platforms are supported.