hd_scania You're getting those same values on FreeBSD also (as your own logs show), but, not all the time:
Sometimes your battery is just not giving the correct values at all. See the dmesg
output:
battery0: <ACPI Control Method Battery> on acpi0
battery0: battery enitialization start
battery0: rev = ffff
battery0: units = 0
battery0: dcap = 0
battery0: lfcap = 0
battery0: btech = 0
battery0: dvol = 0
battery0: wcap = 0
battery0: lcap = 0
battery0: gra1 = 0
battery0: gra2 = 0
[61] battery0: battery initialization failed, giving up
Battery marked as "not present" at 61 seconds. Then, at 214 seconds after boot, when the battery is queried:
[214] battery0: rev = ffff
[214] battery0: units = 0
[214] battery0: dcap = 48840
[214] battery0: lfcap = 48840
[214] battery0: btech = 0
[214] battery0: dvol = 116910
[214] battery0: wcap = 1000
[214] battery0: lcap = 1
[214] battery0: gra1 = 100
[214] battery0: gra2 = 100
it provides values. But, at 385 seconds, it starts dropping some values again:
[385] battery0: rev = ffff
[385] battery0: units = 0
[385] battery0: dcap = 0
[385] battery0: lfcap = 48840
[385] battery0: btech = 0
[385] battery0: dvol = 0
[385] battery0: wcap = 1000
[385] battery0: lcap = 1
[385] battery0: gra1 = 100
[385] battery0: gra2 = 100
This time both dcap
and dvol
are missing.
You can be sure that your battery/laptop will be doing the same thing on Linux too.
Wait for your other replacement battery to come. In the mean time,
1) open your laptop up and check and clean the battery contacts.
2) blow the dust away from the CPU and its fan.
3) re-apply thermal paste. the cooler pad has brought the temperature down by about 5 - 10 C at most.
4) reload the latest BIOS firmware (even if the is the same as the one you have now).
I begin to suspect a laptop problem now. There are a lot of wireless card errors, too, in that dmesg
output.