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


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

bug #32183: RFP: acpi for Yeeloong

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

Wed 12 Feb 2014 12:19:15 AM UTC, 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 23 Feb 2011 12:30:54 PM UTC, 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 19 Jan 2011 09:43:55 PM UTC, 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 07 Apr 2011 03:06:06 PM UTCpcfeCarbon-Copy-=>Added -unavailable-
    Wed 19 Jan 2011 09:43:55 PM UTCsamgeeCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup