On Sunday 17 May 2015 11:39:46 Thomas Lübking wrote:
> Solid::AcAdapter was removed from the API and I don't see a replacement.
> Does that mean one only has to care about Solid::Battery in KF5?
>
> And if: how do I know the System is on AC?
> Battery::chargeState() != Battery::Discharging?
That's probably enough. You may be powered by something other than an AC
adapter (USB ports, for example).
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<