Skip to content

inhibition: set proper argument type

Bhushan Shah requested to merge work/bshah/fix-type into master

Otherwise, it will not uninhibit and system will be stuck in inhibited state and no power savings

method call time=1614797017.932384 sender=:1.59 -> destination=org.freedesktop.PowerManagement.Inhibit serial=74 path=/org/freedesktop/PowerManagement/Inhibit; interface=org.freedesktop.PowerManagement.Inhibit; member=UnInhibit
   int32 4
error time=1614797017.933449 sender=:1.35 -> destination=:1.59 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=74
   string "No such method 'UnInhibit' in interface 'org.freedesktop.PowerManagement.Inhibit' at object path '/org/freedesktop/PowerManagement/Inhibit' (signature 'i')"

Thanks Gergely for help!

Merge request reports