Hi everyone. I have a question regarding upower. I like to tinker at times and make some of my own “applications” with yad. Long ago, I made a Log Out application (for lack of a better term) that looks similar to the lxsession-logout window. Normally, I’m very simple and only use Logout, Restart, and Shutdown in the script so that only those three items show in the window.
Today, I thought I’d try adding Suspend and Hibernate just to see if I could get them to work.
- I installed upower.
- I wasn’t sure if I needed to, but I went ahead and tried to start its service.
Neither Suspend or Hibernate work. I looked in /etc/sv/ for upower…it wasn’t there. However, it is in /etc/ and shown as UPower…not upower.
I then looked in /var/service/ and my attempt to start the service was there, but it’s not working as far as I can tell.
So, my questions are…
- Does upower have to be started as a service?
- If so, since it’s not appearing in /etc/sv/, would I use the following command to do so (please note that I’m writing this as it appears in the /etc/ folder…
ln -s /etc/UPower /var/service/
Thanks for any input (I’m still learning )