Jaunty Adventures – Part 3: Power Snooze

Hibernate. Suspend/sleep (suspend-to-ram) worked beautifully out of the box but hibernate (suspend-to-disk) wasn’t working. It would do an immediate resume once I put the system to hibernate from GNOME. I couldn’t figure out what was wrong, until I initiated a pm-hibernate manually from terminal. Something about a swap file error came up and that was my ah-ha moment, quickly followed by a oh-duh moment.

This very clear and well-written HOWTO on the Ubuntu forum worked great for Jaunty as well.

Battery Thresholds. I wanted to set the Thinkpad battery charging thresholds to maximise the life of the laptop batteries. It was pretty simple because I had tp_smapi installed already when I was setting up hdaps. The instructions to edit /etc/sysfs.conf for the thresholds values are detailed in this HOWTO.

My settings are:
devices/platform/smapi/BAT0/start_charge_thresh = 40
devices/platform/smapi/BAT0/stop_charge_thresh = 90

To-Do List Updated

  • Turn off super annoying shutdown beeps
  • Fix trackpoint settings
  • Get hot keys working (display brightness, volume control, display off)
  • Verify that sleep / hibernate works properly (or fix it)
  • Set battery charging thresholds