[Solved] Painfully slow charging after BIOS update and YAFI installation

According to this post your battery and charger are working normally i.e. an unmodified EC will give these numbers. Type the same command when you encounter the slow charging below 60% and see what you get

1 Like

really wanted to do a quick check and at 77%, I did a quick check. It’s charging at about 40W

sudo ectool chargestate show
ac = 1
chg_voltage = 17600mV
chg_current = 3840mA
chg_input_current = 10256mA
batt_state_of_charge = 77%

Then, I disconnected it and now I’m waiting for it to go all the way down to 60%

I made it to 68%

sudo ectool chargestate show
ac = 1
chg_voltage = 17600mV
chg_current = 3840mA
chg_input_current = 10256mA
batt_state_of_charge = 70%

Now, I’m hitting 50W for charging, so does that mean it is working as normal?

I charged it back up to 73% and it shows this

Because it dropped to 45W, is that an indicator of any issues?

Normal value if the battery voltage is above 16.6V

When the battery is above 70% charging is going to be slower due to voltage approaching 17.6V. The charging circuit is very basic, it doesn’t have steady state error correction so instead of maintaining 3840mA then transition to maintaining 17.6V, it’ll slowly reduce current as the voltage approaching 17.6V.

Therefore if you can’t replicate 20W charging at below 60%, the problem is likely due to YAFI incompatible with the latest BIOS, causing bugs

1 Like

I did another battery disconnect and now it’s 58W

and then 35W

sudo ectool chargestate show
ac = 1
chg_voltage = 17600mV
chg_current = 3840mA
chg_input_current = 10256mA
batt_state_of_charge = 83%

Normal, the battery is approaching constant voltage (CV) charging voltage 17.6V

1 Like

Perfect! I’ll just avoid those apps that mess with the EC, I’m OK with a slight cost to my battery health leaving it plugged in. Thank you so much for your help

1 Like

You can always set a manual limit in BIOS.

1 Like

Correct, but I cannot continuously reboot my laptop because I have a lot of sensitive assignments through Canvas because my campus is Windows heavy and not Linux friendly and love web apps. Automatic saving in Word is not that bad, but Canvas built in stuff is worse than hotdog water. I also need to have as much battery life as I can get when I am at my school. I only get 2.5 hours of battery life and will have to do around 2 hours of not being close enough to an outlet to charge the laptop. I wonder if removing the Graphics Module would make the battery life that much longer. The graphics module says it only pulls 3 watts on idle, would that significantly improve battery life?

image

Also, at 90% it says that it will take 20 minutes to charge, is that normal? I’m pretty sure that’s a bit slow, but I’m not sure. Wattage is back down to 17

It’s recommended to close all monitoring software and use $ upower -i $(upower -e | grep battery) periodically to check the wattage as those monitoring software may keep your dGPU from sleeping, draining more energy.

1 Like
upower -i $(upower -e | grep battery)
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 09:42:59 AM MDT (14 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              67.5857 Wh
    energy-empty:        0 Wh
    energy-full:         73.174 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         15.4955 W
    voltage:             17.538 V
    charge-cycles:       247
    time to full:        21.6 minutes
    percentage:          92%
    capacity:            86.0863%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'
  History (rate):
    1787326979	15.495	charging
    1787326949	15.774	charging
    1787326919	16.068	charging
    1787326889	16.455	charging

Forget to mention: I have been monitoring the battery for some time every hour in a cron job. It’s all outputting to a file for each day

=== Fri Aug 21 12:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 11:59:34 PM MDT (27 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              77.6477 Wh
    energy-empty:        0 Wh
    energy-full:         77.6477 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.559 V
    charge-cycles:       247
    percentage:          100%
    capacity:            91.3495%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Fri Aug 21 01:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 12:59:31 AM MDT (30 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              65.8984 Wh
    energy-empty:        0 Wh
    energy-full:         77.8799 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         40.2944 W
    voltage:             15.886 V
    charge-cycles:       247
    time to empty:       1.6 hours
    percentage:          85%
    capacity:            91.6227%
    technology:          lithium-ion
    icon-name:          'battery-full-symbolic'
  History (charge):
    1787295541	85.000	discharging
  History (rate):
    1787295571	40.294	discharging
    1787295541	44.180	discharging
    1787295511	42.059	discharging


=== Fri Aug 21 02:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 01:59:56 AM MDT (5 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              31.5018 Wh
    energy-empty:        0 Wh
    energy-full:         77.8799 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         36.8734 W
    voltage:             16.03 V
    charge-cycles:       247
    time to full:        1.3 hours
    percentage:          40%
    capacity:            91.6227%
    technology:          lithium-ion
    icon-name:          'battery-good-charging-symbolic'
  History (charge):
    1787299136	40.000	charging
  History (rate):
    1787299196	36.873	charging
    1787299166	37.554	charging
    1787299136	38.421	charging
    1787299106	39.969	charging


=== Fri Aug 21 03:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 02:59:58 AM MDT (3 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              64.6754 Wh
    energy-empty:        0 Wh
    energy-full:         77.8799 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         27.1829 W
    voltage:             17.483 V
    charge-cycles:       247
    time to full:        29.1 minutes
    percentage:          83%
    capacity:            91.6227%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'
  History (charge):
    1787302768	83.000	charging
  History (rate):
    1787302798	27.183	charging
    1787302768	27.740	charging
    1787302738	28.313	charging
    1787302708	28.901	charging


=== Fri Aug 21 04:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 04:00:01 AM MDT (0 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              76.9666 Wh
    energy-empty:        0 Wh
    energy-full:         77.8799 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         4.28796 W
    voltage:             17.6 V
    charge-cycles:       247
    time to full:        12.8 minutes
    percentage:          99%
    capacity:            91.6227%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'
  History (rate):
    1787306401	4.288	charging
    1787306371	4.350	charging
    1787306341	4.412	charging
    1787306311	4.505	charging


=== Fri Aug 21 05:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 04:59:53 AM MDT (8 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              72.3845 Wh
    energy-empty:        0 Wh
    energy-full:         72.3845 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.554 V
    charge-cycles:       247
    percentage:          100%
    capacity:            85.1575%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Fri Aug 21 06:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 05:59:55 AM MDT (6 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              72.3845 Wh
    energy-empty:        0 Wh
    energy-full:         72.3845 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.544 V
    charge-cycles:       247
    percentage:          100%
    capacity:            85.1575%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Fri Aug 21 07:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 06:59:58 AM MDT (3 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              72.3845 Wh
    energy-empty:        0 Wh
    energy-full:         72.3845 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.542 V
    charge-cycles:       247
    percentage:          100%
    capacity:            85.1575%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Fri Aug 21 08:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 08:00:01 AM MDT (0 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              72.3845 Wh
    energy-empty:        0 Wh
    energy-full:         72.3845 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.54 V
    charge-cycles:       247
    percentage:          100%
    capacity:            85.1575%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Fri Aug 21 09:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 08:59:38 AM MDT (23 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              54.1181 Wh
    energy-empty:        0 Wh
    energy-full:         72.2297 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         29.0095 W
    voltage:             15.847 V
    charge-cycles:       247
    time to empty:       1.9 hours
    percentage:          75%
    capacity:            84.9754%
    technology:          lithium-ion
    icon-name:          'battery-full-symbolic'
  History (charge):
    1787324348	75.000	discharging
  History (rate):
    1787324378	29.010	discharging
    1787324318	28.963	discharging
    1787324288	28.855	discharging


Yesterday

=== Thu Aug 20 12:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Wed 19 Aug 2026 11:59:41 PM MDT (20 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              70.465 Wh
    energy-empty:        0 Wh
    energy-full:         71.1925 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         2.60064 W
    voltage:             17.603 V
    charge-cycles:       244
    time to full:        16.8 minutes
    percentage:          99%
    capacity:            83.7552%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'
  History (rate):
    1787205581	2.601	charging
    1787205551	2.616	charging
    1787205521	2.647	charging
    1787205491	2.678	charging


=== Thu Aug 20 01:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 12:59:44 AM MDT (17 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              71.1925 Wh
    energy-empty:        0 Wh
    energy-full:         71.1925 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.543 V
    charge-cycles:       244
    percentage:          100%
    capacity:            83.7552%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Thu Aug 20 02:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 01:59:46 AM MDT (15 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              71.1925 Wh
    energy-empty:        0 Wh
    energy-full:         71.1925 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.538 V
    charge-cycles:       244
    percentage:          100%
    capacity:            83.7552%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Thu Aug 20 03:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 02:59:49 AM MDT (12 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              71.1925 Wh
    energy-empty:        0 Wh
    energy-full:         71.1925 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         0 W
    voltage:             17.536 V
    charge-cycles:       244
    percentage:          100%
    capacity:            83.7552%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'


=== Thu Aug 20 10:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 09:59:50 AM MDT (11 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              17.6008 Wh
    energy-empty:        0 Wh
    energy-full:         71.3318 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         45.2635 W
    voltage:             13.959 V
    charge-cycles:       244
    time to empty:       23.3 minutes
    percentage:          25%
    capacity:            83.9191%
    technology:          lithium-ion
    icon-name:          'battery-low-symbolic'
  History (charge):
    1787241560	25.000	discharging
    1787241500	26.000	discharging
  History (rate):
    1787241590	45.264	discharging
    1787241560	45.233	discharging
    1787241530	45.496	discharging
    1787241500	45.140	discharging


=== Thu Aug 20 11:00:01 AM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 10:59:54 AM MDT (7 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              31.3934 Wh
    energy-empty:        0 Wh
    energy-full:         75.7901 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         58.8395 W
    voltage:             16.865 V
    charge-cycles:       247
    time to full:        45.3 minutes
    percentage:          41%
    capacity:            89.1641%
    technology:          lithium-ion
    icon-name:          'battery-good-charging-symbolic'
  History (charge):
    1787245164	41.000	charging
    1787245134	40.000	charging


=== Thu Aug 20 12:00:35 PM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 12:00:16 PM MDT (19 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              61.0222 Wh
    energy-empty:        0 Wh
    energy-full:         75.7901 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         14.4583 W
    voltage:             16.559 V
    charge-cycles:       247
    time to empty:       4.2 hours
    percentage:          81%
    capacity:            89.1641%
    technology:          lithium-ion
    icon-name:          'battery-full-symbolic'
  History (rate):
    1787248816	14.458	discharging


=== Thu Aug 20 01:00:12 PM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 01:00:06 PM MDT (6 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              42.1056 Wh
    energy-empty:        0 Wh
    energy-full:         75.7901 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         27.508 W
    voltage:             15.242 V
    charge-cycles:       247
    time to empty:       1.5 hours
    percentage:          56%
    capacity:            89.1641%
    technology:          lithium-ion
    icon-name:          'battery-good-symbolic'
  History (rate):
    1787252406	27.508	discharging
    1787252376	13.437	discharging
    1787252366	0.000	discharging


=== Thu Aug 20 02:00:01 PM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 01:59:53 PM MDT (8 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              26.9971 Wh
    energy-empty:        0 Wh
    energy-full:         75.7901 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         18.3283 W
    voltage:             14.801 V
    charge-cycles:       247
    time to empty:       1.5 hours
    percentage:          36%
    capacity:            89.1641%
    technology:          lithium-ion
    icon-name:          'battery-good-symbolic'
  History (rate):
    1787255993	18.328	discharging
    1787255963	18.297	discharging
    1787255903	18.251	discharging


=== Thu Aug 20 10:00:01 PM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 09:59:33 PM MDT (28 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              63.7466 Wh
    energy-empty:        0 Wh
    energy-full:         75.7901 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         13.0032 W
    voltage:             17.534 V
    charge-cycles:       247
    time to full:        55.6 minutes
    percentage:          84%
    capacity:            89.1641%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'
  History (rate):
    1787284773	13.003	charging
    1787284743	13.143	charging
    1787284713	13.328	charging


=== Thu Aug 20 11:00:01 PM MDT 2026 ===
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Thu 20 Aug 2026 10:59:47 PM MDT (14 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              69.7684 Wh
    energy-empty:        0 Wh
    energy-full:         75.7901 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         3.43656 W
    voltage:             17.606 V
    charge-cycles:       247
    time to full:        1.8 hours
    percentage:          92%
    capacity:            89.1641%
    technology:          lithium-ion
    icon-name:          'battery-full-charging-symbolic'
  History (rate):
    1787288387	3.437	charging
    1787288357	3.545	charging
    1787288327	3.622	charging
    1787288297	3.700	charging


At full charge it says I have 2.4 hours of battery life

upower -i $(upower -e | grep battery)
  native-path:          BAT1
  vendor:               NVT
  model:                FRANDBA
  serial:               0091
  power supply:         yes
  updated:              Fri 21 Aug 2026 10:12:26 AM MDT (21 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              70.1863 Wh
    energy-empty:        0 Wh
    energy-full:         73.2359 Wh
    energy-full-design:  85.0007 Wh
    energy-rate:         29.7061 W
    voltage:             16.626 V
    charge-cycles:       247
    time to empty:       2.4 hours
    percentage:          96%
    capacity:            86.1592%
    technology:          lithium-ion
    icon-name:          'battery-full-symbolic'
  History (rate):
    1787328746	29.706	discharging
    1787328716	17.090	discharging
    1787328706	0.000	charging

Check
/sys/class/drm/card1/device/power_state and
/sys/class/drm/card2/device/power_state
One of them should be D3cold. If both are D0 something is preventing the dGPU from sleeping

1 Like

Damn, you’re right. Something is preventing the GPU from sleeping. I got D0 for both

So far, testing for today, you have seemed to have solved my issue. Thank you bunches kind stranger. Going to continue my studies unabated by bad EC and poor app download decisions