Xfce Wiki

Sub domains



A battery monitor panel plugin for Xfce4, compatible with APM and ACPI, for Linux and *BSD.


  • Compile or install xfce4-battery-plugin
  • Right-click the panel > Add New Items
  • Add the Battery Monitor
  • Right-click plugin > Properties for the properties dialog


Properties Dialog Panel Plugin

Recent Releases

1.0.5 (2012/05/30)

  • Better compliance with the panel plugin HIG
  • Don't set labels orientation on 4.8 panels (bug #8961)
  • Set progressbar orientation in setup_battmon (bug #8935)

1.0.4 (2012/05/14)

  • Fix compilation with panel version < 4.9

1.0.3 (2012/05/13)

  • Improve plugin UI in vertical/deskbar/multirows panels

1.0.2 (2012/04/30)

  • change icon depending on charge level/ac status (bug #7768)
  • install icons from xfpm
  • add AC color state and allow user-configurable colors (bug #6757)
  • implement read_acpi_state()/read_acpi_inof() on FreeBSD (bug #2814)
  • make the progressbar optional
  • improve battery removal detection
  • rework configuration dialog to use tabs
  • only display time if it's valid

1.0.1 (2012/04/17)

  • build the plugin as a module
  • port to libxfce4ui (bug #8095)
  • port to panel 4.9+ (bug #8393)
  • add about dialog
  • don't show percentage/time if charge is 0 (bug #8631)

1.0.0 (2011/01/03)

  • Translated in 15 more languages, for a total of 38
  • Make the warning messages non modal, fixing bug #3008
  • Fix fan and temperature detection, fixing bug #2884
  • Showing “No battery, AC online” when no battery is inserted
  • Fix compilation on OpenBSD
  • Fix compilation on amd64 FreeBSD, fixing bug #3811
  • Fix compile issue on linux, fixing bug #3938
  • Various other small compile fixes and cleanup

Recent Changes

Reporting Bugs

Bugs should be reported to the Xfce bug tracking system.

Open Bugs

Getting it

The normal (and best) way to get this plugin is to use the package manager or port system of your operating system.

If it isn't available there, or if you want a different version, you can download it in source form from http://archive.xfce.org/src/panel-plugins/xfce4-battery-plugin/.

Source code repository