Add debugging output
Add polling version (some versions of UPower does not notify through DBus)