buggNewSense GNU/Linux - Bugs: bug #32183, RFP: acpi for Yeeloong


You are not allowed to post comments on this tracker with your current authentication level.

bug #32183: RFP: acpi for Yeeloong

Submitted by:  Sam Geeraerts <samgee>
Submitted on:  Wed Jan 19 21:43:55 2011  
Category: gNewSense 3Severity: 2 - Minor
Item Group: mipselStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed Feb 12 00:19:15 2014, comment #2:

I use a small script to display my battery status on screen, when not running X. It displays in my GNU Screen hardstatus line. The shell script looks like this:-


cat /sys/class/power_supply/yeeloong-bat/charge_now | cut -f 2 -d \|

Within my .screenrc file I have added:-

hardstatus on
backtick 1 1 0 $HOME/bin/my-battery.sh
hardstatus alwayslastline "%{=b}%{y}%c %Y-%m-%d%{m} / %1` / %{B}%-Lw%{c}%50>%n%f* %t%{-}%+Lw%<"

Hopefully this may benefit some.

David Pettifor <djp>
Wed Feb 23 12:30:54 2011, comment #1:

It would be nice to have APM support in the kernel so that battery status can be known:

$ apm
No APM support in kernel

Lars Noodén <larsnooden>
Wed Jan 19 21:43:55 2011, original submission:

Linux(-libre) > 2.6.32 no longers provides an APM interface and the acpi is also not available on the Yeeloong. This makes it inconvenient to check battery status from the command line.

A quick test shows that Lenny's acpi package builds and runs on the Yeeloong. The only change required is adding mipsel to the architecture list.

Battery status can currently be checked with GNOME's battery monitor, GKrellM or via /sys/class/power_supply/.

Sam Geeraerts <samgee>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by djp (Posted a comment)
  • -unavailable- added by pcfe
  • -unavailable- added by larsnooden (Posted a comment)
  • -unavailable- added by samgee (Submitted the item)
  • -unavailable- added by samgee (Richard Stallman uses the command line a lot)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Apr 7 15:06:06 2011pcfeCarbon-Copy-=>Added -unavailable-
    Wed Jan 19 21:43:55 2011samgeeCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1