X61s extended life battery

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
bluesceada
Freshman Member
Posts: 82
Joined: Thu Mar 05, 2009 7:20 am
Location: Karlsruhe, Germany
Contact:

X61s extended life battery

#1 Post by bluesceada » Mon Mar 30, 2009 3:41 am

So, I got an extended life battery which attaches to the bottom. When docking it, it did automatically switch to consume power from that one.

I could change to use the "internal" battery again by echoing a "1" to /sys/devices/platform/smapi/BAT0/force_discharge

But now, I don't know because of which update, or whatever reason, it shows the external battery but still just consumes from the internal.

echoing "1" to /sys/devices/platform/smapi/BAT1/force_discharge (BAT1 is the external) doesn't help, so I tried this:

echo 1 > /sys/devices/platform/smapi/BAT1/force_discharge && cat /sys/devices/platform/smapi/BAT1/force_discharge

I sometimes get a "1" and sometimes it's a "0" again and I don't know why......

There is something switching it back, either the tp_smapi driver or the batteries internal controller, or something else?

Anyone knows how to be able to switch the battery you want to consume from? It makes more sense to use the external first and then be able to remove it when it's nearly emptied.

I also don't want to drain any of the batteries down completely, as that is not good for their lifetime...

bluesceada
Freshman Member
Posts: 82
Joined: Thu Mar 05, 2009 7:20 am
Location: Karlsruhe, Germany
Contact:

Re: X61s extended life battery

#2 Post by bluesceada » Thu Apr 02, 2009 3:52 am

Dont know why but it works perfectly now...

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest