From 9ce1a3c2bab1f8d017e7ac1f167a18bb18f1256a Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 22 Sep 2023 05:35:23 +0000 Subject: [PATCH] Automated dump --- .../Linux cb3309297ee244a2a914a3e358ef4a33.md | 4 +- ...Levels c19cff84e8d043d4bf6896d5fe0380a4.md | 16 + ...inux cb3309297ee244a2a914a3e358ef4a33.html | 2 +- ...vels c19cff84e8d043d4bf6896d5fe0380a4.html | 677 ++++++++++++++++++ index.html | 4 +- 5 files changed, 699 insertions(+), 4 deletions(-) create mode 100644 Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.md create mode 100644 html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.html diff --git a/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.md b/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.md index 249c15d..6446f18 100644 --- a/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.md +++ b/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.md @@ -16,4 +16,6 @@ [Terminal](Linux%20cb3309297ee244a2a914a3e358ef4a33/Terminal%201fd318a677c14e069d24a70df7290c7a.md) -[Directory Structure](Linux%20cb3309297ee244a2a914a3e358ef4a33/Directory%20Structure%2014ca739fe9d046c78bc4dfc14f484f78.md) \ No newline at end of file +[Directory Structure](Linux%20cb3309297ee244a2a914a3e358ef4a33/Directory%20Structure%2014ca739fe9d046c78bc4dfc14f484f78.md) + +[Limit Battery Charge Levels](Linux%20cb3309297ee244a2a914a3e358ef4a33/Limit%20Battery%20Charge%20Levels%20c19cff84e8d043d4bf6896d5fe0380a4.md) \ No newline at end of file diff --git a/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.md b/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.md new file mode 100644 index 0000000..b4a34fe --- /dev/null +++ b/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.md @@ -0,0 +1,16 @@ +# Limit Battery Charge Levels + +It is possible to set a `start` and `end` value for battery charching percentages to preserve battery longevity. + +``` +echo "75" | sudo tee /sys/class/power_supply/BAT0/charge_control_start_threshold +echo "85" | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold +``` + +These commands set the “start” threshold — the battery percentage from which the battery will be charged when reached after dropping down — to 75% and the “end” threshold — the battery percentage when the charging will be stopped — to 85%. + +Alternatively, if this does not work, you might need to replace `BAT0` with `BAT1`, if your device reports more than one battery. + +# Sources + +- [https://www.summet.com/blog/2021/06/07/enabling-a-maximum-battery-charge-amount-charge-threshold-on-lenovo-x1-in-ubuntu/](https://www.summet.com/blog/2021/06/07/enabling-a-maximum-battery-charge-amount-charge-threshold-on-lenovo-x1-in-ubuntu/) \ No newline at end of file diff --git a/html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.html b/html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.html index d4c6faa..5f26782 100644 --- a/html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.html +++ b/html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33.html @@ -673,4 +673,4 @@ background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%220.75%22%20y%3D%220.75%22%20width%3D%2214.5%22%20height%3D%2214.5%22%20fill%3D%22white%22%20stroke%3D%22%2336352F%22%20stroke-width%3D%221.5%22%2F%3E%0A%3C%2Fsvg%3E"); } -

Linux

\ No newline at end of file +

Linux

\ No newline at end of file diff --git a/html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.html b/html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.html new file mode 100644 index 0000000..fd77113 --- /dev/null +++ b/html/Index dc757f5bd73d481092d03714cbcdfa83/Development 02aeaf9ec9954f86bd08ea3bd620f04a/Linux cb3309297ee244a2a914a3e358ef4a33/Limit Battery Charge Levels c19cff84e8d043d4bf6896d5fe0380a4.html @@ -0,0 +1,677 @@ +Limit Battery Charge Levels

Limit Battery Charge Levels

It is possible to set a start and end value for battery charching percentages to preserve battery longevity.

echo "75" | sudo tee /sys/class/power_supply/BAT0/charge_control_start_threshold
+echo "85" | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold

These commands set the “start” threshold — the battery percentage from which the battery will be charged when reached after dropping down — to 75% and the “end” threshold — the battery percentage when the charging will be stopped — to 85%.

Alternatively, if this does not work, you might need to replace BAT0 with BAT1, if your device reports more than one battery.

Sources

\ No newline at end of file diff --git a/index.html b/index.html index 7df77c3..3012fca 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - Export-f18067e3-9be1-4895-9e93-4cd25fc912e8 + Export-76866652-0ff3-4ac1-88aa-dd6cd3df97d0 - + \ No newline at end of file