Difference between revisions of "User talk:Tony2001"

From ThinkWiki
Jump to: navigation, search
(tp_smapi inhbit_charge_minutes)
(tp_smapi inhbit_charge_minutes)
 
Line 20: Line 20:
  
 
--[[User:Thinker|Thinker]] 17:45, 29 August 2007 (UTC)
 
--[[User:Thinker|Thinker]] 17:45, 29 August 2007 (UTC)
 +
 +
Oh. Ok, then I guess everything works fine.
 +
 +
--[[User:tony2001|tony2001]]
  
 
----
 
----

Latest revision as of 19:13, 29 August 2007

tp_smapi inhbit_charge_minutes

Regarding your edit to tp_smapi: how does inhbit_charge_minutes fail, and what's does dmesg say when you write to that attribute?

--Thinker 21:05, 28 August 2007 (UTC)

It does not fail, but it doesn't take any effect. dmesg says that inhabit_charge_minutes has been set, but the battery's state is still "idle".

  1. echo 1 > /sys/devices/platform/smapi/BAT0/inhibit_charge_minutes
  2. dmesg

... smapi smapi: set_inhibit_charge_minutes: set to 1 for bat=0

  1. cat /sys/devices/platform/smapi/BAT0/state

idle

--tony2001

That's the expected behavior. To test, write 3 to inhibit_charge_minutes when the battery is charging. It should stop charging for 3 minutes, and then resume charging.

--Thinker 17:45, 29 August 2007 (UTC)

Oh. Ok, then I guess everything works fine.

--tony2001