SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can't seem to get the battery applet to report remaining percentage. The applet changes color from Green to Yellow but always reports 100%. So when it is Yellow (power source removed it reports 100% remaining.) when I plug it in it goes green and reports 100% and 5 min to recharge? these commands below seem to be right on, any ideas?
Code:
cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 4300 mAh
last full capacity: 4172 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 418 mAh
design capacity low: 209 mAh
cycle count: 0
capacity granularity 1: 43 mAh
capacity granularity 2: 43 mAh
model number: 1201T
serial number:
battery type: LION
OEM info: ASUS
Code:
cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: discharging
present rate: 1419 mA
remaining capacity: 2785 mAh
present voltage: 11183 mV
sorry, which version are you using? the stable ones are built with slackbuilds.org scripts, the -current ones with my slackbuilds.org's git fork for current.
if you're using slackware64-13.1 (like in your profile), could you please try this package?
EDIT: it seems it doesn't work also here on -current, so I suspect it's an old problem fixed incorrectly.
the problem seems to be the commit linked above, tried to revert it and the battery level seems to be correctly detected here, also if it still doesn't calculate recharging time.
if you are using current (x86 or x86_64) I updated the packages for that: can you try them?
Jackpot!!! wow that rocks!!! I grabbed your slackware64-current (lxpanel-20110105_5507276-x86_64-2ponce.txz)
You the man !!! ps love the work you've done on lxde!!! Battery applet seems straight!
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Rep:
That was where I built from, using the stable tree. I saw some errors when I shut down, I'll try to check the logs when I get back to that machine.
EDIT
here is the output or dmesg
Code:
usb 1-6: new high speed USB device using ehci_hcd and address 4
usb 1-6: New USB device found, idVendor=0781, idProduct=5406
usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-6: Product: U3 Cruzer Micro
usb 1-6: Manufacturer: SanDisk
usb 1-6: SerialNumber: 0001797130E30A8C
scsi6 : usb-storage 1-6:1.0
scsi 6:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 6.51 PQ: 0 ANSI: 0 CCS
sd 6:0:0:0: Attached scsi generic sg2 type 0
scsi 6:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 6.51 PQ: 0 ANSI: 0
sd 6:0:0:0: [sdb] 2014271 512-byte logical blocks: (1.03 GB/983 MiB)
sd 6:0:0:0: [sdb] Write Protect is off
sd 6:0:0:0: [sdb] Mode Sense: 45 00 00 08
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sr1: scsi3-mmc drive: 8x/40x writer xa/form2 cdda tray
sr 6:0:0:1: Attached scsi CD-ROM sr1
sr 6:0:0:1: Attached scsi generic sg3 type 5
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 6:0:0:0: [sdb] Assuming drive cache: write through
sd 6:0:0:0: [sdb] Attached SCSI removable disk
I can't find the log that has the errors I saw on shutdown yesterday.
Last edited by interndan; 02-11-2011 at 10:30 AM.
Reason: additional info
Distribution: Slackware 15 64bit on Desktop Slackwarearm on Raspberry PI v1b
Posts: 381
Rep:
I did do a full install. That is the only kind I ever do. I don't know how these aren't present.Consolekit seems to be all that is missing:
[code]bash-4.1$ whereis polkit
polkit: /usr/man/man8/polkit.8.gz /usr/share/man/man8/polkit.8.gz /usr/X11/man/man8/polkit.8.gz
bash-4.1$ whereis consolkit
consolkit:
bash-4.1$ whereis consolekit
consolekit:
bash-4.1$ whereis lxpolkit
lxpolkit: /usr/libexec/lxpolkit /usr/share/lxpolkit
[code]
Where can I find consolekit?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.