9front - general discussion about 9front
 help / color / mirror / Atom feed
From: "Sigrid Solveig Haflínudóttir" <sigrid@ftrv.se>
To: 9front@9front.org
Subject: [9front] Re: [9front] ThinkPad X380 Yoga, aux/acpi reports 13245% battery charge
Date: Tue, 16 Apr 2024 05:09:37 +0200	[thread overview]
Message-ID: <C616324B-5F0F-44D2-9CF1-410D65BFCFEF@ftrv.se> (raw)
In-Reply-To: <2F633B0358037833B023933ECFBD0C23@gaff.inri.net>

In aux/acpi.c try replacing (batteryread func only) bats[n].fullcharge with b->capacity.

On April 16, 2024 2:43:25 AM GMT+02:00, sl@stanleylieber.com wrote:
>http://plan9.stanleylieber.com/hardware/thinkpad/x380/yoga/20LH-000YUS/sysinfo
>
>; cat /dev/battery
>13245 mW 31790 240 51000 12 1600 mV 15371 15280 03:36:34 discharging
>
>sl

  parent reply	other threads:[~2024-04-16  3:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16  0:43 sl
2024-04-16  0:46 ` Noam Preil
2024-04-16  0:55   ` [9front] " Stanley Lieber
2024-04-16  2:29     ` Noam Preil
2024-04-16  2:41       ` [9front] " Stanley Lieber
2024-04-18  2:45         ` Noam Preil
2024-04-16  3:09 ` Sigrid Solveig Haflínudóttir [this message]
2024-04-16 16:19   ` sl
2024-04-17 21:24     ` sl
2024-04-17 21:30       ` Sigrid Solveig Haflínudóttir
2024-04-17 21:42         ` sl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C616324B-5F0F-44D2-9CF1-410D65BFCFEF@ftrv.se \
    --to=sigrid@ftrv.se \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).