• Laptop battery

    From Michael F. Stemper@21:1/5 to All on Mon Jul 11 14:54:30 2022
    Is there a file in /proc that gives information on the
    battery in a laptop? If not, what's the interface used
    by the desktop's battery status indicator?


    --
    Michael F. Stemper
    Psalm 82:3-4

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Michael F. Stemper on Mon Jul 11 16:48:13 2022
    On 7/11/2022 3:54 PM, Michael F. Stemper wrote:
    Is there a file in /proc that gives information on the
    battery in a laptop? If not, what's the interface used
    by the desktop's battery status indicator?

    There are examples here.

    https://www.cyberciti.biz/faq/linux-laptop-battery-status-temperature/

    The battery pack has a chip, which not only measures things,
    it also keeps a record of how many times the pack has been
    recharged. This allows the possibility of estimating battery
    pack capacity, based on capacity-loss caused by charging it.
    They do a lot of maths, in an attempt to give you the best
    "estimate" of when the battery will go flat.

    The chip in the battery pack has a serial interface,
    and that's part of the reason the blade connector has a
    few more blades than you might expect.

    Since the chip is inside the battery pack, if you move the
    battery pack to a second laptop, the "library" of information
    travels with the battery.

    If the battery pack is unplugged and the laptop is on mains,
    the missing chip will not be seen by normal PNP operations
    at boot.

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael F. Stemper@21:1/5 to Paul on Mon Jul 11 16:07:32 2022
    On 11/07/2022 15.48, Paul wrote:
    On 7/11/2022 3:54 PM, Michael F. Stemper wrote:
    Is there a file in /proc that gives information on the
    battery in a laptop? If not, what's the interface used
    by the desktop's battery status indicator?

    There are examples here.

    https://www.cyberciti.biz/faq/linux-laptop-battery-status-temperature/

    Wow, what a treasure trove! Thanks.

    --
    Michael F. Stemper
    Isaiah 58:6-7

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)