Copied code from linuxmint/Cinnamon repository.
Renamed directory.
Applet is now compatible with upower-0.99