Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257935 - KDE4.2: Battery monitor applet shows battery not present on laptop
Summary: KDE4.2: Battery monitor applet shows battery not present on laptop
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 20:44 UTC by zlm
Modified: 2009-02-07 01:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zlm 2009-02-06 20:44:52 UTC
I installed KDE 4.2 on my laptop. Then, I added the battery monitor widget to the desktop. It shows "Battery: not present", even thought the computer is running on one.

When I was using KDE 3.5.9, klaptopdaemon detected my battery.

When I run "acpi" from a terminal, it shows the battery status correctly.

Reproducible: Always

Steps to Reproduce:
1.Install KDE 4.2
2.Add battery monitor applet to desktop
Actual Results:  
Battery isn't detected.

Expected Results:  
Battery should be detected successfully.

# emerge --info

Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================                                    
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_Dual_CPU_T3200_@_2.00GHz-with-glibc2.0 
Timestamp of tree: Fri, 06 Feb 2009 14:05:01 +0000                                                   
app-shells/bash:     3.2_p39                                                                         
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                             
dev-lang/python:     2.5.2-r7                                                                        
dev-util/cmake:      2.6.2-r1                                                                        
sys-apps/baselayout: 1.12.11.1                                                                       
sys-apps/sandbox:    1.2.18.1-r2                                                                     
sys-devel/autoconf:  2.13, 2.63                                                                      
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                    
sys-devel/binutils:  2.18-r3                                                                         
sys-devel/gcc-config: 1.4.0-r4                                                                       
sys-devel/libtool:   1.5.26                                                                          
virtual/os-headers:  2.6.27-r2                                                                       
ACCEPT_KEYWORDS="x86"                                                                                
CBUILD="i686-pc-linux-gnu"                                                                           
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"                                              
CHOST="i686-pc-linux-gnu"                                                                            
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                           
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                              
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                                         
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ http://cesium.di.uminho.pt/pub/gentoo/ ftp://cesium.di.uminho.pt/pub/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ ftp://ftp.dei.uc.pt/pub/linux/gentoo/ "
LANG="pt_PT.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt pt_PT"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pythonhead"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip X acl acpi alsa animgif apache2 apm archive arts audioscrobbler automount berkdb bittorrent bluetooth bzip2 cairo cdaudio cdb cdda cddb cdr cli cracklib crypt css cups dbus divx djvu dot dri dvd dvdr dvdread dvi eds embedded emboss encode esd evo exif fam firefox firefox3 flac fortran ftp fuse gdbm gif gimp gnuplot gphoto2 gpm graphviz gs gstreamer gtk hal htmlhandbook iconv id3 id3tag imagemagick imap imlib inkjar ipfilter ipod ipv6 isdnlog jack java jpeg kde kde4 lame laptop latexlibnotify mad matroska messenger midi mikmod mp3 mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap mysql ncurses nls nocd nptl nptlonly ntfs ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime radius rar readline realmedia reflection samba screenshot sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification subtitles svg symlink sysfs syslog tcpd threads thunderbird tiff tk truetype unicode usb v4l v4l2 vorbis webkit wifi win32codecs x264 x86 xml xorg xulrunner xv xvid yaz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt pt_PT" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 zlm 2009-02-07 01:43:01 UTC
I found that hal was disabled for some reason. After adding hald to the default runlevel, the battery monitor sarted working.

Changing to invalid.