gnome-power-manager r2321 - in trunk: . src test
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2321 - in trunk: . src test
- Date: Thu, 5 Jul 2007 10:57:23 +0100 (BST)
Author: rhughes
Date: 2007-07-05 10:57:22 +0100 (Thu, 05 Jul 2007)
New Revision: 2321
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-power-manager?rev=2321&view=rev
Modified:
trunk/ChangeLog
trunk/src/gpm-profile.c
trunk/test/Makefile.am
Log:
2007-07-05 Richard Hughes <richard hughsie com>
* src/gpm-profile.c: (control_sleep_action_cb), (gpm_profile_init),
(gpm_profile_finalize):
Use GpmControl to notify GpmProfile when a suspend is about to happen,
or when it has just happened so the data valid flag is made false.
This stops oddball readings where the percentage time is used when
the machine is a sleep state. The profile code now waits for the start
of the next complete percentage point. Fixes #453853
Many thanks to Christopher Halse Rogers for the excellent debugging.
* test/Makefile.am:
Now we are using gpm-control in gpm-profile, pull it in as a dep.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]