I am currently developing an application using qt targeting a tablet running ubuntu 14.04

Since there is only a poor battery indicator on the device and the application will run fullscreen for prolonged time, I want to show an battery indicator inside the application. A search found mainly old results or calls to windows, android or ios apis.

Is there any way using just the Qt apis or an other comfortable way to get information about the battery state?