This was applied upstream in http://cgit.freedesktop.org/upower/commit/?id=3a5f3e552 and released in 0.99.2, and thus fixed in Ubuntu 15.04.
This was applied upstream in http:// cgit.freedeskto p.org/upower/ commit/ ?id=3a5f3e552 and released in 0.99.2, and thus fixed in Ubuntu 15.04.