[upower] track also changes in configuration

Track changes in devices configuration... and refactoring

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>