Migrate UPowerClient from dbus-glib to GDBus
Categories
(Core :: Widget: Gtk, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
Details
Attachments
(2 files)
|
10.83 KB,
patch
|
Details | Diff | Splinter Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Migrate UPowerClient from dbus-glib to GDBus
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
There's no point to migrate PowerClient from dbus-glib to GDBus as API battery is not used at all. Let's disable to query battery state now.
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
| bugherder | ||
Comment 6•3 years ago
|
||
We still use the battery api in b2g. What's the long term plan here?
| Assignee | ||
Comment 7•3 years ago
|
||
(In reply to [:fabrice] Fabrice Desré from comment #6)
We still use the battery api in b2g. What's the long term plan here?
But that's Android and not Linux implementation, right?
Comment 8•3 years ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #7)
(In reply to [:fabrice] Fabrice Desré from comment #6)
We still use the battery api in b2g. What's the long term plan here?
But that's Android and not Linux implementation, right?
No, we have support for devices like the Pinephone and Librem5 for https://capyloon.org that are "regular linux".
Comment 9•3 years ago
|
||
Would there be any chance of b2g folks contributing a migration of this code from dbus-glib to AsyncDBus?
Comment 10•3 years ago
|
||
We can try, but it's hard to promise anything. @emilio, are you talking about migrating to https://docs.gtk.org/gio/migrating-gdbus.html ?
Comment 11•3 years ago
|
||
Yes, but we have C++-promise wrappers for gdbus already in the tree here, so it should be using those ideally (should also be easier to get the calls right).
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 12•2 years ago
|
||
I'm looking at it right now.
| Assignee | ||
Updated•2 years ago
|
Description
•