<div dir="ltr">Finally got to this issue. Here is the output of dmidecode regarding the battery. It shows  4 times portable battery<br><br><br>Handle 0x0024, DMI type 22, 26 bytes<br>Portable Battery<br>        Location: Location of the battery<br>
        Manufacturer: Battery Manufacturer<br>        Manufacture Date: 01/01/2012<br>        Serial Number: Serial Number<br>        Name: Battery Name<br>        Chemistry: Nickel Cadmium<br>        Design Capacity: Unknown<br>
        Design Voltage: Unknown<br>        SBDS Version: SBDS Version Number<br>        Maximum Error: Unknown<br>        OEM-specific Information: 0x12345678<br><br>Handle 0x0025, DMI type 22, 26 bytes<br>Portable Battery<br>
        Location: Location of the battery<br>        Manufacturer: Battery Manufacturer<br>        Manufacture Date: 01/01/2012<br>        Serial Number: Serial Number<br>        Name: Battery Name<br>        Chemistry: Nickel Cadmium<br>
        Design Capacity: Unknown<br>        Design Voltage: Unknown<br>        SBDS Version: SBDS Version Number<br>        Maximum Error: Unknown<br>        OEM-specific Information: 0x12345678<br><br>Handle 0x0026, DMI type 22, 26 bytes<br>
Portable Battery<br>        Location: Location of the battery<br>        Manufacturer: Battery Manufacturer<br>        Manufacture Date: 01/01/2012<br>        Serial Number: Serial Number<br>        Name: Battery Name<br>
        Chemistry: Nickel Cadmium<br>        Design Capacity: Unknown<br>        Design Voltage: Unknown<br>        SBDS Version: SBDS Version Number<br>        Maximum Error: Unknown<br>        OEM-specific Information: 0x12345678<br>
<br>Handle 0x0027, DMI type 22, 26 bytes<br>Portable Battery<br>        Location: Location of the battery<br>        Manufacturer: Battery Manufacturer<br>        Manufacture Date: 01/01/2012<br>        Serial Number: Serial Number<br>
        Name: Battery Name<br>        Chemistry: Nickel Cadmium<br>        Design Capacity: Unknown<br>        Design Voltage: Unknown<br>        SBDS Version: SBDS Version Number<br>        Maximum Error: Unknown<br>        OEM-specific Information: 0x12345678<br>
<br>and the output of lshw:<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>Looks like pretty much the same. Now how do I check if this is indeed a 6 cell battery or less?<br>
<br><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 10:18 PM, Doron Shikmoni <span dir="ltr">&lt;<a href="mailto:doron@isoc.org.il" target="_blank">doron@isoc.org.il</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">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"><div><div class="h5">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>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<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></div></div>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il" target="_blank">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>
</blockquote></div><br></div>