How should I diagnose "no voltage values" issues?
Peter Wu
lekensteyn at gmail.com
Tue Aug 27 13:48:18 PDT 2013
Hi,
On Tuesday 27 August 2013 14:10:56 Timothée Ravier wrote:
> My laptop is a Sony VAIO VGN-FW4 (more in the dmesg log attached).
>
> I forgot to mention that my battery is currently dying which is probably
> part of the issue.
>
> [..]
>
> Which is missing one entry as:
>
> $ ls /sys/class/power_supply/BAT0/voltage_now
> -r--r--r-- 1 root root 4,0K 27 août 12:51 voltage_now
> $ cat /sys/class/power_supply/BAT0/voltage_now
> cat: /sys/class/power_supply/BAT0/voltage_now: No such device
>
> So voltage_min_design / 1000000.0 = 0.43 which is < 1.00f which seems to
> be the reason I'm getting warnings.
>
> Is this related to the fact that my battery is dying ? Maybe if it is
> the case we should replace it with a different warning, or a less
> repeated one.
0.43V is invalid, the warning is justified, though annoying. Since this error
will likely persist while UPower is running, what about printing this warning
only once?
By the way, your kernel log mumbles about "corrupted low memory", that might
need to attention.
Regards,
Peter
More information about the devkit-devel
mailing list