| Summary: | Add plugin for computer power management | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | Daniel Vrátil <dvratil> |
| Component: | android-application | Assignee: | Albert Vaca Cintora <albertvaka> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | wishlist | CC: | albertvaka, bansal.ashish096, nicolas.fella, simgunz, wolfram |
| Priority: | NOR | ||
| Version First Reported In: | 0.7.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Daniel Vrátil
2014-10-04 23:22:33 UTC
Side node: I know that now I can do this via the "Touchpad control" screen, but it's really clumsy to navigate, especially when you are further away from the monitor and can't properly read the labels - also it requires you actually seeing the screen, hence it would not work "remotely". Is there a Freedesktop DBus interface to access the battery level? Or any other simple way, without having to use something like Solid. This way we could have bi-directional battery report. In Qt prior to 5.2 there was QtMobility, which provided access to things like the battery, but that's no longer the case :( About remote powering off the computer, we are going to add a generic "run command" plugin, where you can pre-define any command you want to execute from the phone. That should cover that use case. (In reply to Albert Vaca from comment #2) > Is there a Freedesktop DBus interface to access the battery level? Or any > other simple way, without having to use something like Solid. This way we > could have bi-directional battery report. In Qt prior to 5.2 there was > QtMobility, which provided access to things like the battery, but that's no > longer the case :( upower -> http://upower.freedesktop.org/docs/Device.html > > About remote powering off the computer, we are going to add a generic "run > command" plugin, where you can pre-define any command you want to execute > from the phone. That should cover that use case. *** Bug 357783 has been marked as a duplicate of this bug. *** Even though the run command plugin allows to create custom commands, and it works fine to suspend the PC. I suggest to populate it with some defaults for normal users, like the power management commands. I think the use case suggested by Daniel Vrátil is a pretty common one. Creating a script with a dbus command to suspend your pc seems a action for power users. +1 for this feature! I think this is an excellent use case for the run command plugin. Feel free to reopen if you have an idea that is not covered by it |