Update to upower 0.99

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
Squashed 'upower/' changes from 1bcacb2..9b28dac

9b28dac Released UPower 0.99.0
97ed6c4 trivial: Fix a compile warning in the linux backend
e673d9e linux: Use daemon poll for batteries too
03591e6 linux: Switch non-battery devices to use the new daemon poll
d1032c5 linux: Switch Unifying devices to use the new daemon poll
9888891 linux: Switch iDevices to use the new daemon poll
8018418 linux: Switch CSR devices to use the new daemon poll
b7d6952 daemon: Add poll helper functions
6e8e659 daemon: Better timeout source naming
4d0af3b linux: Add NoPollBatteries configuration option
64b1cc0 linux: Split up battery and device refresh
f62e7f1 linux: Move poll disable to another function
feea39f linux: Only disable timeouts if ever set
9ce7b44 daemon: Let the backends do the polling
7921e97 linux: Poll for unknown state like the daemon did
7804f8b linux: Fix the "unknown state" heavy poll
22da1a0 linux: Clamp percentage for overfull batteries
a30ad0b build: Fix --without-systemdunitdir / --without-systemdutildir
cf5d249 linux: Fix parsing of double values for certain locales
498d449 daemon: Fix time to empty with multiple batteries
21ecc70 daemon: Restart upowerd when it crashes
0741e5b linux: Finish "fixing" the UPS test case
585ff60 daemon: No warning with no LEDs class
5be178c daemon: Don't get in a bad state when refresh fails
cd52ad6 daemon: Fix typos in comments
7389aa9 linux: More information in the debug output
ef2c951 daemon: Differentiate 2 warnings
aa8fafc linux: Fix tests for "OnLowBattery"
b3ee721 linux: Add TODO item for the GetCriticalAction binding
720680d linux: get_properties_sync() doesn't exist anymore
fa1fb84 linux: Add helper to get DisplayDevice property
b90ade8 daemon: Fix WarningLevel for devices with no "time to empty"
7fcce91 daemon: Add small doc update_warning_level
af930df linux: Add new definitions
dd4f878 linux: Fix UMockdev typelib not being found
f989b61 linux: Mark devices with 100% battery as full
9bc66af linux: Fix Bluetooth devices appearing with 0% battery
4b4caf1 linux: Add a way to check when sysfs_get_double fails
456a9a4 linux: Use up_device_supply_get_string()
a1a91e7 linux: Add a simpler, quicker path for devices
2e4ed0c linux: Split off device state retrieval
8aaa592 linux: Ignore ACs coming from devices
b3d2368 linux: Remove incorrect statement
aa5636e daemon: Fix crash when device is removed
36f4654 daemon: Remove dead code from up_daemon_device_changed_cb()
aa62f6a lib: Fix possible warning when type changes
c33729a linux: Use boolean values in sysfs_get_bool, not int
984ca2d linux: Remove unused sysfs utils functions
088da47 NEWS: Explain better the *Changed removals
384bae5 NEWS: Update for future release
3063bda lib: Fix compile-time warning
8460a10 linux: Remove debug
c91abb7 tools: Update for lib API changes
5f43bb7 lib: Remove up_client_enumerate_devices_sync()
0010e93 all: Remove *changed signals
8453da5 tools: Use notify signals instead of *changed ones
595d72f lib: Proxy notify changes from UpDevice glue
c33528d lib: Simplify proxying glue properties in UpClient
c9f3a13 power: Work-around batteries that are slow to notice charge
db31456 all: Add GetCriticalAction daemon method
a787022 linux: Fix incorrect check for logind sleep methods
5f830e7 build: And bump soname
16556b9 build: Bump version to 0.99.0
b777c63 daemon: Make warning-level UpDevice property writable
b2f72dd all: Remove WarningLevel from the daemon properties
c00eda8 tools: Print the display device when using -d
a76eaed lib: Trim properties when printing the display device
369a2c6 daemon: Indentation in UpDaemon struct
45c4b37 lib: Add up_client_get_display_device()
34951c9 lib: Remove unneeded up_client_get_properties_sync()
c2426ad daemon: Add documentation for computed properties
b729734 daemon: Mention hard-coded display device object path
511a1db daemon: Minimise WarningLevel signals
f065cd2 daemon: Fix sending device's PropertiesChanged signal
01226cb daemon: Emit PropertiesChanged for computed properties too
cb9b1aa daemon: Only modify display device when it changes
bda51f5 daemon: Add GetDisplayDevice method
e7eed71 daemon: Set the display device type when on battery
f15992c daemon: Use constant for the devices object paths
473b4c3 daemon: Remove spurious linefeed
19fdd68 daemon: Remove 2 undefined functions from headers
8bf9ae0 daemon: Remove left-over debug
2dae17d daemon: Make UpDevice emit PropertiesChanged signals
5e5e737 daemon: Add support for more types for PropertiesChanged
2cfd98c daemon: Coalesce PropertiesChanged signals together
85ce906 lib: Fix compilation
677f2f4 lib: Use slices to allocate cached properties
4079ba8 lib: Print property name when cached property doesn't exist
d7d215a lib: Cache property values correctly
689ae11 daemon: Calculate global WarningLevel correctly
7e61b09 daemon: Fix possible crasher in UpDevice self-test
01d8004 daemon: Remove unimplemented up_device_test()
dab98e2 daemon: Remove unused internal D-Bus proxy
f71ac98 daemon: Register on the Bus after coldplug
d74e4a7 daemon: Don't emit changed signal in coldplug
0ac5c13 daemon: Sort the UpDaemon struct member
b446cac daemon: Add new WarningLevel "Discharging"
77c3278 daemon: Move all computations of warning level to daemon
ac1708e daemon: Require newer GLib
d2484d4 lib: Add support for the IconName property
c9aeb66 daemon: Add IconName property
68b9975 daemon: Add CriticalPowerAction
28438a7 lib: Emit notify:: signals
7531dbd daemon: Emit the PropertiesChanged signal
3d16414 daemon: Emit the "Changed" signal without going through notify
e0fb507 lib: up_device_to_text() won't work for fake devices
010ab14 daemon: Device* signals send out object paths
869050d lib: Make it possible to create local UpDevices
87709f7 daemon: Add small hack for keyboards and mice
0da4620 tools: Update for API changes
858ab85 lib: Update for property removal and additions
bd3a57f daemon: Replace "on-low-battery" property
9c27c42 lib: Fix alignment of "online" in device dump
493c219 lib: Add warning-level device property
de749a3 daemon: Add WarningLevel device property
68aca3a daemon: Load level policy configuration
3bf0b7a daemon: Add helper to get uint from config
ccda7a4 daemon: Remove unused config file loading
5423ada lib: Add UpDeviceLevel enum
4a5d12a etc: Add configuration for battery levels
91df125 daemon: Remove unneeded reset of priv struct members
8c83871 lib: Remove dbus-glib from the dependencies
5adf4c1 lib: Port UpWakeUps to GDBus
b989cad lib: Port UpDevice to GDBus
c590354 lib: No need to set private members to NULL
65c8412 lib: Port UpClient to GDBus
760d294 lib: Build the new D-Bus glue
a3627b8 lib: Add autogenerated glue to the daemon
d10cc97 Remove QoS interface
c842f1a Remove obsolete battery recall properties
3ed22cd doc: Remove mention of suspend in example
bd7af24 tools: Remove use of deprecated features
ababfa2 policy: Remove policy for removed features
e981026 etc: Remove now unused configuration options
1ee642e daemon: Remove obsolete features
030e2c9 lib: Remove deprecated features
911727f build: Add missing dbus-glib-1 to private requires
ad7e809 lib: Simplify _new() functions
5f26bc5 daemon: Simplify _new() functions
7007fea freebsd: Remove useless finalize
f926ee4 lib: Simplify _to_string() calls
cb759a0 linux: Don't print a warning if the status sysfs attr is missing
e385c57 daemon: Remove unused _set_property
1f991aa daemon: Avoid trying to close fd that wasn't opened
fed403c daemon: Fix options parsing
6abd412 linux: Opt-out of checking Watts Up devices earlier
d6bfaaf etc: Disable Watts-Up devices by default
b622008 daemon: Include config.h in up-backend.h
a1b772a openbsd: Use g_thread_try_new()
3a9bd43 openbsd: recognize when battery is absent or fully charged
b61f8a7 website: Link to bugzilla
f3898db linux: Don't guess discharging state for devices
66da41c lib: Add missing "element-type" introspection metadata
fc5793e lib: Fix crasher calling _about_to_sleep_sync()
a10a61e rules: Update and correct Toshiba recall list
d43ab28 lib: Fix a small memory leak
e4858d9 up-client: Really don't overwrite retval with prop values
ee93745 trivial: post release version bump
e54cc7e Released UPower 0.9.22
9975526 Linux integration tests: Fix PEP8 errors
2aa24ae Linux integration tests: Fix pyflakes errors
e89d047 Linux integration tests: First test case for library
03c4abb libupower-glib: Fix error handling
ecc4e37 up-client: Don't error out gathering deprecated properties
db89e5a up-client: Don't overwrite retval with property values
5c132c6 linux: Track power_supply devices by name only instead of full sysfs path
6f9ccd3 Linux integration tests: Test reconnect of bluetooth mouse
960d441 Linux integration tests: Run tests under umockdev-wrapper
ee0a71d openbsd: Do not call g_thread_init()
5c0a57c linux: Detect the battery of bluetooth input devices
09d41eb Linux integration tests: Add bluetooth mouse and keyboard
fdc62ad Set locale in daemon and tool
347b8b0 hidpp: try harder not to report 0% battery
5867d54 Linux integration tests: Verify device types
440ee20 Linux integration tests: Verify that UPSes and batteries are power supplies
ba363c8 linux: Allow valid UTF-8 encoded string
d070b4b Linux integration tests: add test for vendor/product/serial strings
578ad1e hidpp: simplify setting model and serial
8113cab hidpp: drop read_msg, print correct buffer
16544c1 hidpp: ignore remaining garbage for debug print
a7766cf hidpp: fix K750 battery and luminosity properties
789dbb0 hidpp: move timeout checking before reading
5058ede hidpp: split request read/write functions
e1ed283 hidpp: retry when read or g_poll is interrupted
84a9b52 hidpp: more useful error messages
cdeaf16 hidpp: fix memleak while coldplugging
dda9bc2 hidpp: fix fd leak
984d88f hidpp: retrieve serial number for devices (v2)
81ea62d hidpp: remove unnecessary HID++ 2.0 code
a802862 hidpp: fix properties for unreachable devices (v2)
88398cf hidpp: improve HID++ version detection, fix uninit var
d4d66c2 hidpp: pick up devices that just got paired
1745b8e hidpp: assume HID++ 1.0 for unreachable devices
fd6e214 hidpp: test only once for d7 register
d58a79c hidpp: support battery register 0x07
9fefbcb hidpp: do not print warnings if device is offline
dd71ca0 hidpp: recognise HID++ 1.0 ping response again
132f937 hidpp: clear message queue before initiating new requests (v2)
4a211e0 hidpp: validate messages, retry if invalid
c830102 hidpp: refactor to introduce structure in protocol
12f6f40 linux: Only one warning if no valid voltage found
7933b0e trivial: Stop calling deprecated g_type_init()
2b10e20 Make GetHistory() array order consistent
470bc11 Linux: More explicit warning when no voltage found
6d3a68d Linux: Fix warning in up_device_supply_get_design_voltage
9b14207 Linux integration tests: add test for temperature
eaf8648 Add temperature property for batteries
03f67aa trivial: In test case of previous commit, check OnLowBattery property
07b95b8 linux: Fix batteries which report capacity, but not energy/charge
aa1656f trivial: post release version bump

git-subtree-dir: upower
git-subtree-split: 9b28dac1a1e764593532628b31342dad813ad013
Resolve conflicts for upgrade to 0.99

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>