Add Battery1 interface
ClosedPublic

Authored by broulik on Dec 10 2019, 5:24 PM.

Details

Summary

Allows querying for a Bluetooth device's battery status.

Test Plan
  • Added unit tests pass
  • Managed to show device battery in plasmoid

Diff Detail

Repository
R269 BluezQt
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Dec 10 2019, 5:24 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 10 2019, 5:24 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
broulik requested review of this revision.Dec 10 2019, 5:24 PM
broulik updated this revision to Diff 71431.Dec 13 2019, 1:21 PM
  • Fix crash due to uninitialized q ptr
drosca accepted this revision.Dec 13 2019, 1:30 PM
drosca added inline comments.
autotests/batterytest.cpp
41

If it's not needed, then just remove it.

This revision is now accepted and ready to land.Dec 13 2019, 1:30 PM
This revision was automatically updated to reflect the committed changes.