[Ubuntu Wiki] Update of "DebuggingGNOMEPowerManager" by pvillavi

Ubuntu Wiki noreply at ubuntu.com
Thu Oct 20 19:35:49 UTC 2011


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ubuntu Wiki" for change notification.

The "DebuggingGNOMEPowerManager" page has been changed by pvillavi:
http://wiki.ubuntu.com/DebuggingGNOMEPowerManager?action=diff&rev1=33&rev2=34

  <<Include(Debugging/Header)>>
  ||<tablestyle="float:right; font-size: 0.9em; width:30%; background:#F1F1ED; background-image: url('https://librarian.launchpad.net/1812570/bugsquad.png'); background-repeat: no-repeat; background-position:  98% 0.5ex; margin: 0 0 1em 1em; padding: 0.5em;"><<TableOfContents>>||
  
- == Introduction ==
+ 
+ == Oneiric ==
+ 
+ If you're running Oneiric you'll notice that the Power Management was moved to GNOME Settings Daemon, thus all the bugs affecting GNOME Power Manager in Oneiric are about the statistics ui and not the daemon. If you're having issues with Power Management in Oneiric please use this method to report bugs to GNOME Settings Daemon:
+ 
+ Run g-s-d as:
+ 
+ {{{gnome-settings-daemon --no-daemon --debug &> g-s-d-debug.txt}}}
+ 
+ Then reproduce the bug and file it to gnome-settings-daemon.
+ 
+ == Natty Version or previous ==
  
  Bugs relating to GNOME Power Manager (g-p-m) typically fall into 2 categories:
   1. '''User interface bugs''': require a detailed description of the issue, steps to reproduce and screen captures where appropriate.
@@ -72, +83 @@

  
  === Querying Battery Info ===
  
- ==== Under HAL (9.04 and before) ====
- 
- To get a list of all the batteries in the system you can use HAL:
- 
- {{{
- $ hal-find-by-capability --capability "battery"
- }}}
- 
- You can then discover the settings of each of the batteries including information like model numbers by doing this:
- 
- {{{
- $ hal-find-by-capability --capability "battery" | xargs -n 1 hal-device
- }}}
- 
- This provides all the possible information, but sometimes it is easier to look for specific information through the command line.  For instance, if you wanted to look and see if the batteries are being seen as recharging:
- 
- {{{
- $ hal-find-by-capability --capability "battery" | xargs -t -n 1 hal-get-property --key battery.rechargeable.is_charging --udi
- }}}
- 
  ==== Under upower and DeviceKit-power (9.10+) ====
  
  Battery information can be take directly from upower using the following command:
@@ -106, +97 @@

  If g-p-m is having trouble shutting down, hibernating, or suspending,  you can send commands directly to ensure that g-p-m is not getting in the way. (Copy+paste is recommended.)
  
  '''Note:''' These should only be used for debugging.  Do not use them during regular operation of your computer.
- 
- ==== Under HAL ====
- 
- || '''Reboot''' || {{{$ dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot}}} ||
- || '''Shutdown''' || {{{$ dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown}}} ||
- || '''Hibernate''' || {{{$ dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate}}} ||
- || '''Suspend''' || {{{$ dbus-send --system --print-reply --dest="org.freedesktop.Hal" /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0}}} ||
  
  ==== Under DeviceKit-Power (Ubuntu 9.10) ====
  



More information about the Ubuntu-bugsquad mailing list