After having a look at gnome-power-manager's source code, I also noticed that gpm_manager_is_inhibit_valid is a stub. Implementing it also requires gpm-session.c to be changed, because the term "inhibited" is limited to the concept of session timeouts there. I tried to implement it but unfortunately, it didn't work.
I guess this bug should be forwarded upstream, unless this has already happened.
After having a look at gnome-power- manager' s source code, I also noticed that gpm_manager_ is_inhibit_ valid is a stub. Implementing it also requires gpm-session.c to be changed, because the term "inhibited" is limited to the concept of session timeouts there. I tried to implement it but unfortunately, it didn't work.
I guess this bug should be forwarded upstream, unless this has already happened.