News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

Battery

From FrugalWiki

Jump to: navigation, search

Battery

Notebook users are usually interested in the state of their battery. Getting the power button and the lid’s sensor of its closed state to emit events is also nice. Some notebooks only shut down their continously running fans and operate only if needed if the thermal module is loaded.

Usually these modules are automatically loaded by udev. If it does not do so for you, then add the following lines to /etc/sysconfig/modules to get modules loaded at system startup:

battery
ac
button
thermal

The next task is to enable the acpid service:

Root terminal 48px.png
# service acpid add


Then the easiest way is to reboot, or if you don’t want do do so:

Root terminal 48px.png
# modprobe battery

modprobe ac
service hald stop
service dbus stop
service acpid start
service dbus start

service hald start


The only remaining task is to start a client: if you’re on console, try the acpi command, or the relevant applet of your favorite window manager.

Personal tools
Namespaces
Variants
Actions