Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-04-23 Thread Pavel Machek
Hi! > > But problem is not in /proc, /sys has zeros, too. > > > > pavel@amd:~$ cat /sys/class/power_supply/BAT0/energy_full > > 0 > > pavel@amd:~$ cat /sys/class/power_supply/BAT0/energy_full_design > > 0 > > pavel@amd:~$ cat /sys/class/power_supply/BAT0/model_name > > 93P5030 > > pavel@amd:~$

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-25 Thread Lan Tianyu
于 2013/3/25 18:19, Martin Mokrejs 写道: Hi Lan, this is actually a bug of Pavel, he had the problem. I just wanted to show him what works on 3.7.10 in my case (yes, different files are on my system). If you feel the *missing* files are a problem, I can try some newer kernels on my computer (Dell

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-24 Thread Lan Tianyu
2013/3/25 Martin Mokrejs : > > > Pavel Machek wrote: >> Hi! >> >>> pavel@amd:~$ cat /proc/acpi/battery/BAT0/info >>> present: yes >>> design capacity: 0 mWh >>> last full capacity: 0 mWh >>> battery technology: rechargeable >>> design voltag

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-24 Thread Martin Mokrejs
Pavel Machek wrote: > Hi! > >> pavel@amd:~$ cat /proc/acpi/battery/BAT0/info >> present: yes >> design capacity: 0 mWh >> last full capacity: 0 mWh >> battery technology: rechargeable >> design voltage: 14400 mV >> >> Th

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-24 Thread Pavel Machek
Hi! > > > >> pavel@amd:~$ cat /proc/acpi/battery/BAT0/info > > > >> present: yes > > > >> design capacity: 0 mWh > > > >> last full capacity: 0 mWh > > > >> battery technology: rechargeable > > > >> design voltage: 14400 mV > > > >> > > > >> This worked

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-23 Thread Rafael J. Wysocki
On Saturday, March 23, 2013 09:21:56 PM Pavel Machek wrote: > On Sat 2013-03-23 14:00:23, Bjørn Mork wrote: > > "Rafael J. Wysocki" writes: > > > On Saturday, March 23, 2013 12:40:12 PM Pavel Machek wrote: > > >> Hi! > > >> > > >> pavel@amd:~$ cat /proc/acpi/battery/BAT0/info > > >> present:

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-23 Thread Pavel Machek
On Sat 2013-03-23 14:00:23, Bjørn Mork wrote: > "Rafael J. Wysocki" writes: > > On Saturday, March 23, 2013 12:40:12 PM Pavel Machek wrote: > >> Hi! > >> > >> pavel@amd:~$ cat /proc/acpi/battery/BAT0/info > >> present: yes > >> design capacity: 0 mWh > >> last full capaci

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-23 Thread Bjørn Mork
"Rafael J. Wysocki" writes: > On Saturday, March 23, 2013 12:40:12 PM Pavel Machek wrote: >> Hi! >> >> pavel@amd:~$ cat /proc/acpi/battery/BAT0/info >> present: yes >> design capacity: 0 mWh >> last full capacity: 0 mWh >> battery technology: rechargeable >> des

Re: 3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-23 Thread Rafael J. Wysocki
On Saturday, March 23, 2013 12:40:12 PM Pavel Machek wrote: > Hi! > > pavel@amd:~$ cat /proc/acpi/battery/BAT0/info > present: yes > design capacity: 0 mWh > last full capacity: 0 mWh > battery technology: rechargeable > design voltage: 14400 mV > > Thi

3.9-rc3+: reports battery as 0 mWh capacity on thinkpad x60

2013-03-23 Thread Pavel Machek
Hi! pavel@amd:~$ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 0 mWh last full capacity: 0 mWh battery technology: rechargeable design voltage: 14400 mV This worked before... at least it works in 2.6 kernel used by debian.