upower/NEWS

239 lines
11 KiB
Text
Raw Normal View History

2009-10-06 10:28:05 +01:00
Version 011
~~~~~~~~~~~
Released: 2009-10-06
Note:
- The DBus interface of DeviceKit-power may be subject to change in future
versions of this daemon.
- The DBus interface has changed to use FirstLetterCaps property names
so Qt projects can use the DBus interface without resorting to ugly hacks.
New Features:
- Return meaningful errors if the user tries to suspend or hibernate without
kernel support or swap set up (Richard Hughes)
- Use the sysfs file 'type' to work out the battery type before using a
fallback (Enrico Zini, Richard Hughes)
Bugfixes:
- Update list of HID UPS devices (Arnaud Quette)
- Add backend code to make DeviceKit-power compile without GUdev for non-Linux
platforms (Richard Hughes)
- Only disable the polling if the kernel tells us we're fully charged, not if
we guessed it (Richard Hughes)
- Make the remove logic much cleaner to try to fix bugs where removing the
mouse kills the session (Richard Hughes)
- Fix up some small memory leaks (Richard Hughes)
- Freeze and thaw the device during initial coldplug (Richard Hughes)
- Fix up a few potential problems spotted by clang (Richard Hughes)
- Fix a tiny memory leak when we collect the properties from the interface
multiple times (Richard Hughes)
- Use voltage_now as a fallback to the design voltage (Enrico Zini, Richard Hughes)
2009-07-22 12:59:56 +01:00
Version 010
~~~~~~~~~~~
Released: 2009-07-22
Note:
- The DBus interface of DeviceKit-power may be subject to change in future
versions of this daemon.
- This project now depends on GUdev and PolicyKit1
New Features:
- Port to GUdev (Richard Hughes)
- Port to PolicyKit1 (Richard Hughes)
Bugfixes:
- Add a notify flag to set_lid_is_closed to fix the initial state (Loïc Minier)
- Correct a description string from one of the new enums (Richard Hughes)
- Only guess the battery status if we have > 1 battery in the system (Richard Hughes)
- Use the global battery state as a metric for single battery machines (Richard Hughes)
- Query the kernel to decide if we have hibernate and suspend support (Richard Hughes)
- If we don't have enough swap available, don't advertise hibernate. Fixes rh#513015 (Richard Hughes)
- Force a refresh all battery devices when the ac-adaptor changes. Fixes rh#512995 (Richard Hughes)
2009-07-06 13:23:29 +01:00
Version 009
~~~~~~~~~~~
Released: 2009-07-06
Note:
- The DBus interface of DeviceKit-power may be subject to change in future
versions of this daemon.
- The experimental devkit-power-gobject library has no API or ABI guarantees.
- This is the first version of DeviceKit-power where multiple laptop batteries
are officially supported.
New Features:
- Interface with pm-powersave as external vendors are using this (Richard Hughes)
- Enable pretty compiler output with new automake versions (Richard Hughes)
- udev rules files now live in /lib/udev/rules.d, not /etc/udev/rules.d (Richard Hughes)
- Add battery recall data rules (Richard Hughes)
- Export the recall-notice, recall-vendor and recall-url properties on power devices (Richard Hughes)
- Protect the non-GObject accessors with DKP_DISABLE_DEPRECATED (Richard Hughes)
- Add two new state enums, pending-discharge and pending-charge (Richard Hughes)
- Use the global state to fix the unknown battery status (Richard Hughes)
Bugfixes:
- Suppress lid change event on startup (Martin Pitt)
- Fix two issues with the pm-powersave code (Roland Dreier)
- Mark batteries as empty if they have unknown state and a very low energy (Richard Hughes)
- For power_supply, unknown is a valid state from the kernel (Richard Hughes)
- Don't assume all batteries have positive energy_full values (Richard Hughes)
- Add one more variation of lithium-poly (Richard Hughes)
- Don't show empty vendor, model or serials in the debug outputs (Richard Hughes)
- Fix a small memory leak on supply coldplugging (Richard Hughes)
- Hardcode pm-powersave like we do pm-suspend and pm-hibernate (Richard Hughes)
- Initial refresh after coldplug is not fatal if it fails (Richard Hughes)
- Set the GObject properties correctly in the DkpDeviceHid class (Richard Hughes)
- The UPS can't expose empty or fully-charged, so fixup these states (Richard Hughes)
- Fix detecting the USB UPS devices (Richard Hughes)
- Add a lid-is-present property (Richard Hughes)
- Be less asserty when enum values are added in newer versions of the spec (Richard Hughes)
- Add a DKP_CHECK_VERSION macro which we can use in client tools (Richard Hughes)
- Move the udev rules to their own directory (Richard Hughes)
- Move a small rule about the fully charged level from g-p-m (Richard Hughes)
2009-06-01 11:35:53 +01:00
Version 008
~~~~~~~~~~~
Released: 2009-06-01
Note:
- The DBus interface of DeviceKit-power may be subject to change in future
versions of this daemon.
- The experimental devkit-power-gobject library has no API or ABI guarantees.
New Features:
- Allow the daemon to get the global online state for all devices (Matthew Garrett)
- Add a has-capability to the org.freedesktop.DeviceKit.Power.Wakeups interface (Richard Hughes)
- Add a property lid-is-closed for g-p-m and x-p-m to use (Richard Hughes)
Bugfixes:
- Fix up some issues in DkpClient, and expose GObject properties (Ali Abdallah)
- Remove the 0x prefix from some rule matches (Ronald)
- Allow all DBus properties to be read with the new DBus (Richard Hughes)
- Only reset the update-time if the read was successful (Richard Hughes)
- Optimise the udev rules to skip non-usb devices (Richard Hughes)
- Ensure we get properties on devices correctly that have not yet been changed (Richard Hughes)
- Make the suspend and hibernate scripts execute synchronously. Fixes rh#497563 (Richard Hughes)
- Ignore method timeouts when we suspend and hibernate (Richard Hughes)
- Add two missing files to the last commit (Richard Hughes)
- Don't overwrite energy-full-design with zero after coldplug (Richard Hughes)
- Only get the device state for the poll after the refresh (Richard Hughes)
- Continue to poll when power supply device is marked unknown. Fixes rh#495493 (Richard Hughes)
- Correct a debugging statement (Richard Hughes)
- Never overwrite ID_PRODUCT or ID_VENDOR (Richard Hughes)
- Don't return history data relative to the earliest point (Richard Hughes)
- Setup different polls based on the battery state (Matthew Garrett)
- Don't poll on unknown forever. Based on a patch from Matthew Garrett (Richard Hughes)
- Fix up the return statuses from coldplug and refresh (Richard Hughes)
- Only attempt to print history if the device is capable (Richard Hughes)
- Allow properties in DkpDevice (client) to be set (Richard Hughes)
2009-03-30 12:12:16 +01:00
Version 007
~~~~~~~~~~~
Released: 2009-03-30
Note:
- The DBus interface of DeviceKit-power may be subject to change in future
versions of this daemon.
- The experimental devkit-power-gobject library has no API or ABI guarantees.
New Features:
- Get rid of internal Object and instead use the GObject property system (Richard Hughes)
- Move the library directory from libdevkit-power to devkit-power-gobject (Richard Hughes)
- Ship a shared library. There are now three external projects using copies of
this, which is rediculous (Richard Hughes)
- Require I_KNOW_THE_DEVICEKIT_POWER_API_IS_SUBJECT_TO_CHANGE (Richard Hughes)
Bugfixes:
- Fix up DBus interface for CVE-2008-4311 (Stanislav Brabec)
- Fix g-p-m and DeviceKit-power when running with a permissive dbus. Fixes fd#20882 (Frederic Crozat)
- Remove use of EggObjList, and make the library more sane (Richard Hughes)
- Fix compile error in dkp-power. Fixes #20749 (Richard Hughes)
2009-02-10 09:47:23 +00:00
Version 006
~~~~~~~~~~~
Released: 2009-02-10
Bugfixes:
- Fix compile failure with gcc-4.4.0 and old versions of glib2 (Richard Hughes)
- Only enable the wakeups polling if a client requires the data (Richard Hughes)
- Correctly set the power-supply property (David Zeuthen)
- Don't crash when we limit the resolution of a small dataset (Richard Hughes)
- Don't sync to disk every 5 seconds, do it every 10 minutes (Richard Hughes)
- Fix the QoS interface with the proper signature (Richard Hughes)
2009-02-02 15:34:08 +00:00
Version 005
~~~~~~~~~~~
Released: 2009-02-02
New Features:
- Add a wakeups interface so we can get data from the system over DBus (Richard Hughes)
- Allow showing the wakeup data in the devkit-power command line tool (Richard Hughes)
2009-01-23 17:38:25 +00:00
Version 004
~~~~~~~~~~~
Released: 2009-01-23
Bugfixes:
- Fix the battery capacity calculation. Fixes fd#19165 (Richard Hughes)
- Special case machines where the kernel does not convert charge to power (Richard Hughes)
- Check all the power supply fields for valid data (Richard Hughes)
2008-12-09 13:31:56 +00:00
Version 003
~~~~~~~~~~~
Released: 2008-12-09
New Features:
- Implement the .QoS interface -- still proof of concept (Richard Hughes)
Bugfixes:
- Enable the low power saving code in DkpHistory (Richard Hughes)
- Don't keep putting off the profile saving in DkpHistory (Richard Hughes)
- Allow DeviceKit-power to run with the 'fixed' DBus (Richard Hughes)
2008-11-13 15:36:27 +00:00
Version 002
~~~~~~~~~~~
Released: 2008-11-13
New Features:
- add in CanSuspend and CanHibernate into API (Richard Hughes)
- add two new properties, has-history and has-statistics (Richard Hughes)
- add voltage property of a power device (Richard Hughes)
- all logging for all the other device types too (Richard Hughes)
- Move object paths so things are rooted under /org/freedesktop/DeviceKit/Power (David Zeuthen)
- Add functionality to monitor a Watts Up Pro device (Richard Hughes)
2008-11-12 16:30:21 +00:00
- Turn some methods into properties (David Zeuthen)
Bugfixes:
- Also rename configure.in to configure.ac in autogen.sh (David Zeuthen)
- Fix up deps and build system (David Zeuthen)
- We're a fd.o project (David Zeuthen)
- Update my email address (David Zeuthen)
- Update mailing list reference in man pages (David Zeuthen)
- Update bug report URL to point to our mailing list (David Zeuthen)
- Nuke devkit-power-on-battery for now (David Zeuthen)
- Don't report negative rate when charging (Richard Hughes)
- Remove the battery- and line-power- prefix from the device properties (Richard Hughes)
- Add DkpStatsObj convenience helpers (Richard Hughes)
- Save the time to full and time to empty too (Richard Hughes)
- Don't clear the list when we print it (Richard Hughes)
- Support getting stats from DkpSupply devices (Richard Hughes)
- Poll every 10 seconds to get better stats results (Richard Hughes)
- Work out the statistics by binning them into percentage sized holes (Richard Hughes)
- Add two remove functions to the generic object list (Richard Hughes)
- Don't unconditionally set the energy_full to energy_full_design if larger (Richard Hughes)
- Add a first approximation of a time resolution limiter (Richard Hughes)
- Expand the client helper library to cover all the base API for gnome-power-manager (Richard Hughes)
- Use 0 for unknown, not -1 as some values like rate and voltage are valid when negative (Richard Hughes)
- Use a better resolution limiting function for getting the history to reduce CPU load (Richard Hughes)
- Match the WUP device on the tty device, not the USB device (Richard Hughes)
- Fix the include headers for DeviceKit 002 (Richard Hughes)
2008-11-12 16:30:21 +00:00
- Document how to access the D-Bus service with examples (David Zeuthen)
2008-05-08 22:29:38 -04:00
2008-11-13 15:36:27 +00:00
Version 001
~~~~~~~~~~~
Released: 2008-09-02
- Initial proof of concept version