Hi,
Thanks for the info, how do you use the ideviceinfo? Can I monitor the battery 
with my iOS application with it? or is it run from desktop for an attached 
device?
I guess I would have to trigger the domain with the command:
ideviceinfo -d com.apple.mobile.battery

I need to monitor the host platform battery and charging progress within my 
application if possible.
I guess I will try to fetch all the information per platform, thanks for the 
info.


From: Jason H <[email protected]>
Sent: July 10, 2019 1:15 PM
To: Jérôme Godbout <[email protected]>
Cc: [email protected]
Subject: Re: [Interest] Battery status and info

No. I had to write my own JNI api. Curiously, for iOS, the ideviceinfo binary 
can give you more than the device itself.

Sent: Wednesday, July 10, 2019 at 9:45 AM
From: "Jérôme Godbout" <[email protected]<mailto:[email protected]>>
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [Interest] Battery status and info
Hi,
Is there any Qt API (I did found some into the old QtMobile) that can be used 
to probe the main battery on the system (I want to target iOS, Android, OS X, 
Window and Linux). I was wondering if any Qt API exist to monitor the charge 
level, the current, voltage, capacity, health, etc. I think I won’t get 
everything on all platform (yes I’m looking at you iOS lol). If anybody have a 
lead on this it would be welcome.

Thanks,
Jerome

_______________________________________________ Interest mailing list 
[email protected]<mailto:[email protected]> 
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest

Reply via email to