Skip to content

u/linrunner

In this archive from Jul 2017 to Feb 2024

2
posts
11
comments
0
media
239
score

I would love to support Dell, but not by means of an external tool (or external kernel module). I had my fair share of experience with that in > 10 years on ThinkPads.

So the prerequisite is mainline kernel support for

/sys/class/power_supply/BAT0/charge_control_start_threshold
/sys/class/power_supply/BAT0/charge_control_end_threshold

See:

https://lkml.org/lkml/2020/7/29/87

https://github.com/linrunner/TLP/issues/379

2 points

Judging from your output everything is fine and works as expected. You configured 40/80 thresholds for both batteries:

  • BAT0 has a SOC of 84.8% which is above the stop threshold 80, so there is no reason for the controller to charge the battery.
  • BAT1 has 79.5% (80 rounded) which produces the same result.

Obviously you overlooked the additional "(threshold effective)" after "Unknown". "Unknown" is the kernel's way to tell it's "disoriented", because a threshold prevents charging below a SOC of 100%.

I propose you re-read TLP's documentation on the subject of thresholds:

  1. https://linrunner.de/en/tlp/docs/tlp-configuration.html#chargethresholds
  2. https://linrunner.de/en/tlp/docs/tlp-faq.html#battery
1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.