<div dir="ltr">Hello Sara,<br><br>A couple comments:<br><br>1. lshw takes (most of) its data out of DMI, and interprets some of it based on hardcoded constants. This might translate into incorrect interpretation for some of the info, in this case, the battery&#39;s chemistry or the number of batteries. Another possibility is that the battery or the laptop wrongly reports its own attributes, or some similar discrepancy.<br>
<br>It might be interesting to take the output of dmidecode and compare notes with lshw. <br><br>2. The fact that you get a report for more than one battery is orthogonal and unrelated to the number of cells. The cells (4,6, or 9 of them) are all part of one battery, and do not represent separate batteries. In other words, for one 6-cell battery, the correct report should have been one battery, not 6. <br>
So the fact that you received a report about batteries 0-3 does not indicate 4 cells, but rather, incorrect counting of battery instances by lshw (or incorrect DMI reporting by Mr. MoBo).<br><br>Hope this helps,<br>Doron<br>
<br><br><br><br><div class="gmail_quote">On Sun, Sep 9, 2012 at 5:29 PM, sara fink <span dir="ltr">&lt;<a href="mailto:sara.fink@gmail.com" target="_blank">sara.fink@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I ran lshw and found out about the battery of the laptop that it has 4 cells. It appears as battery 0, battery 1, battery 2, battery 3. However, based on the model of the battery it is supposed to be 6 cells. I was wondering which one is correct. <br>

<br>The model of the battery is Samsung AA-PB9NC6B  11.1V, 4400 mAh. On the battery it shows it&#39;s Li-Ion battery. lshw shows it&#39;s nickel cadmium. <br><br>  *-battery:0<br>       description: Nickel Cadmium Battery<br>

       product: Battery Name<br>       vendor: Battery Manufacturer<br>       physical id: 1<br>       version: 01/01/2012<br>       serial: Serial Number<br>       slot: Location of the battery<br>  *-battery:1<br>       description: Nickel Cadmium Battery<br>

       product: Battery Name<br>       vendor: Battery Manufacturer<br>       physical id: 2<br>       version: 01/01/2012<br>       serial: Serial Number<br>       slot: Location of the battery<br>  *-battery:2<br>       description: Nickel Cadmium Battery<br>

       product: Battery Name<br>       vendor: Battery Manufacturer<br>       physical id: 3<br>       version: 01/01/2012<br>       serial: Serial Number<br>       slot: Location of the battery<br>  *-battery:3<br>       description: Nickel Cadmium Battery<br>

       product: Battery Name<br>       vendor: Battery Manufacturer<br>       physical id: 4<br>       version: 01/01/2012<br>       serial: Serial Number<br>       slot: Location of the battery<br><br><br><br></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br></div>