# Feature request: A way to read live charger current

**URL:** <https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329>\
**Category:** Framework Laptop 16\
**Tags:** expansion-bay-shell, framework-laptop-16-amd-ai-300, feature-requests\
**Created:** [August 24, 2026, 1:48am UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329 "2026-08-24T01:48:01Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![Charlie\_6](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/charlie_6/32/22087_2.png) [@Charlie\_6](https://community.frame.work/u/Charlie_6)\
**Post date:** [August 24, 2026, 2:48pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/21 "2026-08-24T14:48:21Z")

</div>

> [@LuckyLuke](#):
>
> That seems to only be the theoretical max for me, not what is actually being pulled from the charger at this moment.

You were right, the current\_now is always equal to current\_max 😭

> [@Adrian\_Joachim](#):
>
> You already payed for the sensor

Exactly, the `chg_input_current` is the only one that runs closed loop. Both the battery’s charging voltage and charging current have steady state error, making charging slower and transition from constant current to constant voltage sluggish. When the computer is sufficiently loaded, the actual current from the USB-C is exactly the `chg_input_current` (or exactly the current converted by buck converter if 36-48V is used), no steady state error here. However this is the only current that can’t be read from the user whether with `upower`, `ectool` or `framework-control`. Strange.

---

<div class="post-metadata">

**Author:** ![Adrian\_Joachim](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/adrian_joachim/32/9949_2.png) [@Adrian\_Joachim](https://community.frame.work/u/Adrian_Joachim)\
**Post date:** [August 24, 2026, 3:04pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/22 "2026-08-24T15:04:36Z")

</div>

> [@Charlie\_6](#):
>
> Exactly, the `chg_input_current` is the only one that runs closed loop.

That is not the one op is asking for, framework put a ina current/voltage sensor on the input that is separate from the one built into the charge controller.

---

<div class="post-metadata">

**Author:** ![LuckyLuke](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@LuckyLuke](https://community.frame.work/u/LuckyLuke)\
**Post date:** [August 24, 2026, 3:05pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/23 "2026-08-24T15:05:06Z")

</div>

I think i’ve made a breakthrough here: Turns out I was looking at the wrong firmware! My variant of the board (firmware version `tulip-4.0.1-9b2a0b1`) doesn’t use the `INA236` anymore, it uses the `BQ25770` made by Texas Instruments!

tldr: check if you’ve got the right board version: `sudo ectool version` should show `RW version: tulip-...`  
Read raw values using `sudo ectool i2cxfer 3 0x09 0 0x35 0x50 0x40 >/dev/null; sleep 0.05; sudo ectool i2cxfer 3 0x09 2 0x25` or `sudo ectool adcread 4`

The chip seems to be located at bus `3`, address `0x09`.  
When executing `sudo ectool i2cxfer 3 0x09 2 0x23` I get back `Read bytes: 0xfd 0x26`. Converting that to decimal and multiplying it by two (as the datasheet says) yields 19962mV (19.96V, which is pretty much exactly what i’d expect from `+20V_VADP`).  
Raw current seems to be readable using this command: `sudo ectool i2cxfer 3 0x09 0 0x35 0x50 0x40 >/dev/null; sleep 0.05; sudo ectool i2cxfer 3 0x09 2 0x25` (WARNING: This pokes at registers in the controller, i’m not responsible if you destroy your hardware)  
Decoding those values as int16s gives ~500 to 1200 in idle and 3000 to 4000 under load.  
It also seems like the channel the raw I2C poke reads is also hooked up to adc channel 4 on the EC (readable using `sudo ectool adcread 4`), though I haven’t yet figured out scaling for either.

PS: i’ve never used this editor and i’m running on like 3 hours of sleep, so sorry if it’s kinda incoherent, just ask me if you don’t understand something.

---

<div class="post-metadata">

**Author:** ![Adrian\_Joachim](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/adrian_joachim/32/9949_2.png) [@Adrian\_Joachim](https://community.frame.work/u/Adrian_Joachim)\
**Post date:** [August 24, 2026, 3:07pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/24 "2026-08-24T15:07:39Z")

</div>

> [@LuckyLuke](#):
>
> I think i’ve made a breakthrough here: Turns out I was looking at the wrong firmware! My variant of the board (firmware version `tulip-4.0.1-9b2a0b1`) doesn’t use the `INA236` anymore, it uses the `BQ25770` made by Texas Instruments!

Oh you have an ai300 board, yeah the ina sensor isn’t on those if I read the censored “schematics” right.

Weird, the new charge controller is only rated up to 40V with 45V absolute max. that is still less than the 48V needed for 240V pd.

---

<div class="post-metadata">

**Author:** ![LuckyLuke](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@LuckyLuke](https://community.frame.work/u/LuckyLuke)\
**Post date:** [August 24, 2026, 3:09pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/25 "2026-08-24T15:09:42Z")

</div>

I think it sits behind the buck converter, so it only sees the pd voltage directly if it’s \<=20V. (my 20V reading was taken while on a 240W charger with framework\_tool reporting 48V/5A negotiated)

---

<div class="post-metadata">

**Author:** ![Adrian\_Joachim](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/adrian_joachim/32/9949_2.png) [@Adrian\_Joachim](https://community.frame.work/u/Adrian_Joachim)\
**Post date:** [August 24, 2026, 3:23pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/26 "2026-08-24T15:23:00Z")

</div>

> [@LuckyLuke](#):
>
> I think it sits behind the buck converter, so it only sees the pd voltage directly if it’s \<=20V. (my 20V reading was taken while on a 240W charger with framework\_tool reporting 48V/5A negotiated)

So they left the buck converter but removed the way to measure current in front of the buck converter?

---

<div class="post-metadata">

**Author:** ![Charlie\_6](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/charlie_6/32/22087_2.png) [@Charlie\_6](https://community.frame.work/u/Charlie_6)\
**Post date:** [August 24, 2026, 3:25pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/27 "2026-08-24T15:25:08Z")

</div>

> [@Adrian\_Joachim](#):
>
> That is not the one op is asking for, framework put a ina current/voltage sensor on the input that is separate from the one built into the charge controller.

The `chg_input_current` is the “target” current that the charge controller follows, on the input side before the NVDC buck-boost. This is more accurate than battery charging current and voltage so it must have a sensor. However the user can’t read the measured value (opposed to set value) using conventional means. “so close, yet so far” vibe.

> [@Adrian\_Joachim](#):
>
> Weird, the new charge controller is only rated up to 40V with 45V absolute max. that is still less than the 48V needed for 240V pd.

48V is not needed for the charge controller because

> [@\[TRACKING\] Battery flipping between charging and discharging / Draws from battery even on AC](https://community.frame.work/t/tracking-battery-flipping-between-charging-and-discharging-draws-from-battery-even-on-ac/22484/600):
>
> **For 16in AMD AI 300**  
> We have a TI dual phase buck-boost converter that does not support bypass mode, and operates in NVDC mode always. This helps reduce peak current draw from adapters as it can respond to high current draws on the battery instantly when connected to EPR adapters.  
> It is proceeded by a 3 level buck converter which is used to step down the input voltage to the battery charger controller when operating at 48V. At 36V and below the 3 level buck converter is switched into bypass mode.

---

<div class="post-metadata">

**Author:** ![Adrian\_Joachim](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/adrian_joachim/32/9949_2.png) [@Adrian\_Joachim](https://community.frame.work/u/Adrian_Joachim)\
**Post date:** [August 24, 2026, 3:28pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/28 "2026-08-24T15:28:27Z")

</div>

> [@Charlie\_6](#):
>
> The `chg_input_current` is the “target” current that the charge controller follow

Yes but that is behind the buck converter, at least on the 7x40hs board there is supposed to be a separate current sensor in front of the buck converter.

The charge controller has it’s own shunts for it to actually do it’s job. James did make a modded ec that got access to those, I played around a bunch with the charge controller on my 13.

---

<div class="post-metadata">

**Author:** ![LuckyLuke](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@LuckyLuke](https://community.frame.work/u/LuckyLuke)\
**Post date:** [August 24, 2026, 3:31pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/29 "2026-08-24T15:31:28Z")

</div>

That 3 level buck converter is a Renesas RAA489300 living at I2C address 0x4A, also on port 3. And it seems like the current reading on ADC channel 4 of the EC is actually a amplified signal from that buck converter’s current sense line

Now I think we just need someone with a framework that can pull a lot of power (aka has a beefy GPU) and has a current meter to convert that ADC signal to a real, usable, current reading.  
For now I think 5 pairs of ADC read → real current read taken across a reasonably large current draw range should be enough to get a good idea.  
ADC value can be read using `sudo ectool adcread 4`

---

<div class="post-metadata">

**Author:** ![NEITG](https://avatars.discourse-cdn.com/v4/letter/n/9dc877/32.png) [@NEITG](https://community.frame.work/u/NEITG)\
**Post date:** [August 26, 2026, 4:21pm UTC](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329/30 "2026-08-26T16:21:39Z")

</div>

UGreen also do a USB-C 240W PD3.1 cable with a small display in the plug, had one for a while and seems to work pretty well - [UGREEN 240W USB C to USB-C Cable with Built-in Digital Screen, 2M | PD 3.1 Type C to C Fast Charging Cable Compatible with MacBook Pro/Air, iPad Pro, HP EliteBook, iPhone 17/16, Galaxy S26/S25: Amazon.co.uk: Computers & Accessories](https://amzn.eu/d/0hMDV8jv)

[Previous page](https://community.frame.work/t/feature-request-a-way-to-read-live-charger-current/84329.md?page=1)
