🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.user
7 messages
7 total messages Started by riveravaldez Wed, 11 Nov 2026 00:30
Safe battery thresholds
#464
Author: riveravaldez
Date: Wed, 11 Nov 2026 00:30
35 lines
5035 bytes
--000000000000453f50065ff54766
Content-Type: text/plain; charset="UTF-8"

Hi, sorry to bother,

I've just set this two to the same value:

$ cat /sys/class/power_supply/BAT0/charge_control_start_threshold
50
$ cat /sys/class/power_supply/BAT0/charge_control_end_threshold
50

Is this OK?
Apparently everything works fine.
Could this generate any problem?
(The idea is just to keep the battery in 50%, because this is a laptop
permanently attached to the power source.)

Thanks a lot in advance and kind regards to everybody!

--000000000000453f50065ff54766
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi, sorry to bother,</div><div><br></div><div>I&#39;v=
e just set this two to the same value:</div><div><br></div><div>$ cat /sys/=
class/power_supply/BAT0/charge_control_start_threshold <br>50<br>$ cat /sys=
/class/power_supply/BAT0/charge_control_end_threshold <br>50<br><br></div><=
div>Is this OK?</div><div>Apparently everything works fine.</div><div>Could=
 this generate any problem?</div><div>(The idea is just to keep the battery=
 in 50%, because this is a laptop permanently attached to the power source.=
)</div><div><br></div><div>Thanks a lot in advance and kind regards to ever=
ybody!</div></div>

--000000000000453f50065ff54766--
Re: Safe battery thresholds
#465
Author: riveravaldez
Date: Wed, 11 Nov 2026 00:40
38 lines
5345 bytes
--000000000000a32ed9065ff55834
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 10, 2026 at 9:28=E2=80=AFPM riveravaldez <riveravaldezmail@gmai=
l.com>
wrote:

> Hi, sorry to bother,
>
> I've just set this two to the same value:
>
> $ cat /sys/class/power_supply/BAT0/charge_control_start_threshold
> 50
> $ cat /sys/class/power_supply/BAT0/charge_control_end_threshold
> 50
>

(Just in case, I'm using X with only IceWM, no DE.)
:)

--000000000000a32ed9065ff55834
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_quote gmail_quote_container"><div =
dir=3D"ltr" class=3D"gmail_attr">On Tue, Nov 10, 2026 at 9:28=E2=80=AFPM ri=
veravaldez &lt;<a href=3D"mailto:riveravaldezmail@gmail.com">riveravaldezma=
il@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex"><div dir=3D"ltr"><div>Hi, sorry to bother,</div><div><br></div>=
<div>I&#39;ve just set this two to the same value:</div><div><br></div><div=
>$ cat /sys/class/power_supply/BAT0/charge_control_start_threshold <br>50<b=
r>$ cat /sys/class/power_supply/BAT0/charge_control_end_threshold <br>50</d=
iv></div></blockquote><div><br></div><div>(Just in case, I&#39;m using X wi=
th only IceWM, no DE.)</div><div>:)=C2=A0</div></div></div>

--000000000000a32ed9065ff55834--
Re: Safe battery thresholds
#468
Author: Greg
Date: Wed, 11 Nov 2026 12:40
15 lines
1994 bytes
On 11/11/26 01:28, riveravaldez wrote:
> Hi, sorry to bother,
> 
> I've just set this two to the same value:
> 
> $ cat /sys/class/power_supply/BAT0/charge_control_start_threshold
> 50
> $ cat /sys/class/power_supply/BAT0/charge_control_end_threshold
> 50
The charge_control_end_threshold should be significantly higher than 
charge_control_start_threshold. Like 50/60.

-- 
Regards
Greg
Re: Safe battery thresholds
#473
Author: lucancurtismahoney
Date: Wed, 11 Nov 2026 17:20
24 lines
4816 bytes
Hey all

My laptop supported battery charge limits on Fedora KDE but not on Debian GNOME. I don’t see the charge threshold in sys/class/power_supply/BAT0 - am I missing a piece of software or firmware? I have a Lenovo Yoga 7. 

Thanks

> On Nov 11, 2026, at 7:35 AM, Greg <pld@sojka.co> wrote:
> 
> On 11/11/26 01:28, riveravaldez wrote:
>> Hi, sorry to bother,
>> I've just set this two to the same value:
>> $ cat /sys/class/power_supply/BAT0/charge_control_start_threshold
>> 50
>> $ cat /sys/class/power_supply/BAT0/charge_control_end_threshold
>> 50
> The charge_control_end_threshold should be significantly higher than charge_control_start_threshold. Like 50/60.
> 
> --
> Regards
> Greg
> 
Re: Safe battery thresholds
#475
Author: riveravaldez
Date: Wed, 11 Nov 2026 20:50
21 lines
4797 bytes
--0000000000004aed1606600653d9
Content-Type: text/plain; charset="UTF-8"

Perfect.
Thanks a lot, everybody!
Debian's community (and this list in particular) is always one of the
greatest things in FLOSS... <3
Cant' remember: should I change subject adding some "[SOLVED]" or similar?
Best regards.

--0000000000004aed1606600653d9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div>Perfect.</div><div>Thanks a lot, eve=
rybody!</div><div>Debian&#39;s community (and this list in particular) is a=
lways one of the greatest things in FLOSS... &lt;3</div><div>Cant&#39; reme=
mber: should I change subject adding some &quot;[SOLVED]&quot; or similar?<=
/div><div>Best regards.</div></div></div>

--0000000000004aed1606600653d9--
Changing subject mid-thread [was: Safe battery thresholds]
#479
Author: tomas
Date: Thu, 12 Nov 2026 07:20
42 lines
3186 bytes
--g1RlKku72yEEoz9F
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 11, 2026 at 08:46:07PM -0500, Jeffrey Walton wrote:
> On Wed, Nov 11, 2026 at 6:16=E2=80=AFPM riveravaldez <riveravaldezmail@gm=
ail.com> wrote:
> >
> > Perfect.
> > Thanks a lot, everybody!
> > Debian's community (and this list in particular) is always one of the g=
reatest things in FLOSS... <3
> > Cant' remember: should I change subject adding some "[SOLVED]" or simil=
ar?
>=20
> Please, no.  Changing the subject: breaks threading in some mail
> reader programs.

I'm rather in the "please yes" camp -- "some mail reader programs"
should learn to do things properly ;-)

At least when the subject changes radically, as it is the case
here (one could argue that the [SOLVED] case is somewhat in the
middle: I tend to not do it in this case).

Cheers
--=20
t

--g1RlKku72yEEoz9F
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCavVmdwAKCRAFyCz1etHa
RnXZAJ94fpYOqw6GIkYCrxgcaDq0dKAR9wCfZA0IQaPWWNDffKR5fGRIyCVGaaM=
=1XcV
-----END PGP SIGNATURE-----

--g1RlKku72yEEoz9F--
Re: Safe battery thresholds
#621
Author: riveravaldez
Date: Tue, 24 Nov 2026 23:40
65 lines
6731 bytes
--00000000000043105806610e31bd
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=F0=9F=91=8D=F0=9F=8F=BE

riveravaldez reacted via Gmail
<https://www.google.com/gmail/about/?utm_source=3Dgmail-in-product&utm_medi=
um=3Det&utm_campaign=3Demojireactionemail#app>

On Wed, Nov 11, 2026 at 10:46=E2=80=AFPM Jeffrey Walton <noloader@gmail.com=
> wrote:

> On Wed, Nov 11, 2026 at 6:16=E2=80=AFPM riveravaldez <riveravaldezmail@gm=
ail.com>
> wrote:
> >
> > Perfect.
> > Thanks a lot, everybody!
> > Debian's community (and this list in particular) is always one of the
> greatest things in FLOSS... <3
> > Cant' remember: should I change subject adding some "[SOLVED]" or
> similar?
>
> Please, no.  Changing the subject: breaks threading in some mail
> reader programs.
>
> Jeff
>

--00000000000043105806610e31bd
Content-Type: text/vnd.google.email-reaction+json; charset="UTF-8"
Content-Transfer-Encoding: base64

ewogICJlbW9qaSI6ICLwn5GN8J+PviIsCiAgInZlcnNpb24iOiAxCn0=
--00000000000043105806610e31bd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div><p style=3D"font-size:50px;margin-top:0;margin-bottom:0">=F0=9F=91=8D=
=F0=9F=8F=BE</p><p style=3D"margin-top:10px;margin-bottom:0">riveravaldez r=
eacted via <a href=3D"https://www.google.com/gmail/about/?utm_source=3Dgmai=
l-in-product&amp;utm_medium=3Det&amp;utm_campaign=3Demojireactionemail#app"=
>Gmail</a></p></div><br><div class=3D"gmail_quote gmail_quote_container"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Wed, Nov 11, 2026 at 10:46=E2=80=AFP=
M Jeffrey Walton &lt;<a href=3D"mailto:noloader@gmail.com">noloader@gmail.c=
om</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Nov 11, 2=
026 at 6:16=E2=80=AFPM riveravaldez &lt;<a href=3D"mailto:riveravaldezmail@=
gmail.com" target=3D"_blank">riveravaldezmail@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Perfect.<br>
&gt; Thanks a lot, everybody!<br>
&gt; Debian&#39;s community (and this list in particular) is always one of =
the greatest things in FLOSS... &lt;3<br>
&gt; Cant&#39; remember: should I change subject adding some &quot;[SOLVED]=
&quot; or similar?<br>
<br>
Please, no.=C2=A0 Changing the subject: breaks threading in some mail<br>
reader programs.<br>
<br>
Jeff<br>
</blockquote></div>

--00000000000043105806610e31bd--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads