make preload sleep when battery operated

Bug #481861 reported by Jérôme on 2009-11-13
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
preload (Ubuntu)
Undecided
Unassigned
Nominated for Karmic by Jérôme
Nominated for Lucid by Jérôme

Bug Description

Binary package hint: preload

preload is highly improving the cold startup of the applications.

However it has the drawback to increase the CPU and harddisk usage.

Those 2 tasks are increasing the energy consumption.

I still want to install preload because of the responsiveness improvement but I would like it to have a smarter energy management.

ProblemType: Bug
Architecture: amd64
Date: Fri Nov 13 12:32:07 2009
DistroRelease: Ubuntu 9.10
Package: preload 0.6.4-1
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: preload
Uname: Linux 2.6.31-14-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:1136): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:1136): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:1201): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1192): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:1191): Gdk-CRITICAL **: gdk_x11_colormap_foreign_new: assertion `GDK_IS_VISUAL (visual)' failed

Jérôme (jerome-bouat) wrote :
Jérôme (jerome-bouat) wrote :

By using the pm-utils package. preload could add this feature just by adding the attached script into the /etc/pm/power.d file directory.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in preload (Ubuntu):
status: New → Confirmed
Ari (ari-lp) wrote :

The script above wasn't working for me under Ubuntu 12.04.2 LTS, so I created a new one that does.

Enjoy!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers