How to adjust charging thresholds of laptop battery?
My laptop is Lenovo T400, and OS is Ubuntu 12.04.
I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging threshold is about 40%, and stopping charging threshold is about 60%. I forgot if it was me and which program I used to control the battery to stop charging at 60% and start charging at 40%.
I followed my previous post https://askubuntu.com/questions/58789/how-to-check-charged-percentage-of-battery-and-to-adjust-its-thresholds, but I don't find /sys/devices/platform/smapi
. Also I have /proc/acpi/battery/BAT0/
, but I have only three files alarm
, info
and state
.
I want to adjust the thresholds. So I wonder how to do that?
linux ubuntu power-management thinkpad battery
add a comment |
My laptop is Lenovo T400, and OS is Ubuntu 12.04.
I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging threshold is about 40%, and stopping charging threshold is about 60%. I forgot if it was me and which program I used to control the battery to stop charging at 60% and start charging at 40%.
I followed my previous post https://askubuntu.com/questions/58789/how-to-check-charged-percentage-of-battery-and-to-adjust-its-thresholds, but I don't find /sys/devices/platform/smapi
. Also I have /proc/acpi/battery/BAT0/
, but I have only three files alarm
, info
and state
.
I want to adjust the thresholds. So I wonder how to do that?
linux ubuntu power-management thinkpad battery
Trymodprobe tp_smapi
as root, and then see if the files under/sys/devices/platform/smapi
are there.
– Renan
Sep 18 '12 at 17:18
@Renan: the module is not foundFATAL: Module tp_smapi not found.
.
– Tim
Sep 18 '12 at 17:44
1
Install tp_smapi according to the instructions there: thinkwiki.org/wiki/… then try again.
– Renan
Sep 18 '12 at 17:46
@Renan: Is tp_smapi only for Lenovo laptops? Are battery charging management modules different for different brands of laptops?
– Tim
Sep 19 '12 at 1:54
Some Lenovo laptops have specific features which tp_smapi gives you access to. I don't know about other brands, but they probably have similar tools (I have a Dell laptop and I see that I have adell_laptop
anddell_wmi
module, for example; I never explored it to see what it does)
– Renan
Sep 19 '12 at 2:17
add a comment |
My laptop is Lenovo T400, and OS is Ubuntu 12.04.
I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging threshold is about 40%, and stopping charging threshold is about 60%. I forgot if it was me and which program I used to control the battery to stop charging at 60% and start charging at 40%.
I followed my previous post https://askubuntu.com/questions/58789/how-to-check-charged-percentage-of-battery-and-to-adjust-its-thresholds, but I don't find /sys/devices/platform/smapi
. Also I have /proc/acpi/battery/BAT0/
, but I have only three files alarm
, info
and state
.
I want to adjust the thresholds. So I wonder how to do that?
linux ubuntu power-management thinkpad battery
My laptop is Lenovo T400, and OS is Ubuntu 12.04.
I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging threshold is about 40%, and stopping charging threshold is about 60%. I forgot if it was me and which program I used to control the battery to stop charging at 60% and start charging at 40%.
I followed my previous post https://askubuntu.com/questions/58789/how-to-check-charged-percentage-of-battery-and-to-adjust-its-thresholds, but I don't find /sys/devices/platform/smapi
. Also I have /proc/acpi/battery/BAT0/
, but I have only three files alarm
, info
and state
.
I want to adjust the thresholds. So I wonder how to do that?
linux ubuntu power-management thinkpad battery
linux ubuntu power-management thinkpad battery
edited Apr 13 '17 at 12:22
Community♦
1
1
asked Sep 18 '12 at 16:51
TimTim
26.8k77258469
26.8k77258469
Trymodprobe tp_smapi
as root, and then see if the files under/sys/devices/platform/smapi
are there.
– Renan
Sep 18 '12 at 17:18
@Renan: the module is not foundFATAL: Module tp_smapi not found.
.
– Tim
Sep 18 '12 at 17:44
1
Install tp_smapi according to the instructions there: thinkwiki.org/wiki/… then try again.
– Renan
Sep 18 '12 at 17:46
@Renan: Is tp_smapi only for Lenovo laptops? Are battery charging management modules different for different brands of laptops?
– Tim
Sep 19 '12 at 1:54
Some Lenovo laptops have specific features which tp_smapi gives you access to. I don't know about other brands, but they probably have similar tools (I have a Dell laptop and I see that I have adell_laptop
anddell_wmi
module, for example; I never explored it to see what it does)
– Renan
Sep 19 '12 at 2:17
add a comment |
Trymodprobe tp_smapi
as root, and then see if the files under/sys/devices/platform/smapi
are there.
– Renan
Sep 18 '12 at 17:18
@Renan: the module is not foundFATAL: Module tp_smapi not found.
.
– Tim
Sep 18 '12 at 17:44
1
Install tp_smapi according to the instructions there: thinkwiki.org/wiki/… then try again.
– Renan
Sep 18 '12 at 17:46
@Renan: Is tp_smapi only for Lenovo laptops? Are battery charging management modules different for different brands of laptops?
– Tim
Sep 19 '12 at 1:54
Some Lenovo laptops have specific features which tp_smapi gives you access to. I don't know about other brands, but they probably have similar tools (I have a Dell laptop and I see that I have adell_laptop
anddell_wmi
module, for example; I never explored it to see what it does)
– Renan
Sep 19 '12 at 2:17
Try
modprobe tp_smapi
as root, and then see if the files under /sys/devices/platform/smapi
are there.– Renan
Sep 18 '12 at 17:18
Try
modprobe tp_smapi
as root, and then see if the files under /sys/devices/platform/smapi
are there.– Renan
Sep 18 '12 at 17:18
@Renan: the module is not found
FATAL: Module tp_smapi not found.
.– Tim
Sep 18 '12 at 17:44
@Renan: the module is not found
FATAL: Module tp_smapi not found.
.– Tim
Sep 18 '12 at 17:44
1
1
Install tp_smapi according to the instructions there: thinkwiki.org/wiki/… then try again.
– Renan
Sep 18 '12 at 17:46
Install tp_smapi according to the instructions there: thinkwiki.org/wiki/… then try again.
– Renan
Sep 18 '12 at 17:46
@Renan: Is tp_smapi only for Lenovo laptops? Are battery charging management modules different for different brands of laptops?
– Tim
Sep 19 '12 at 1:54
@Renan: Is tp_smapi only for Lenovo laptops? Are battery charging management modules different for different brands of laptops?
– Tim
Sep 19 '12 at 1:54
Some Lenovo laptops have specific features which tp_smapi gives you access to. I don't know about other brands, but they probably have similar tools (I have a Dell laptop and I see that I have a
dell_laptop
and dell_wmi
module, for example; I never explored it to see what it does)– Renan
Sep 19 '12 at 2:17
Some Lenovo laptops have specific features which tp_smapi gives you access to. I don't know about other brands, but they probably have similar tools (I have a Dell laptop and I see that I have a
dell_laptop
and dell_wmi
module, for example; I never explored it to see what it does)– Renan
Sep 19 '12 at 2:17
add a comment |
2 Answers
2
active
oldest
votes
You need to install tp_smapi-dkms
, just do
apt-get install tp_smapi-dkms
When finished, use lsmod | grep tp_smapi
to check if module is loaded, to adjust the charge thresholds, do something like this
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 60 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
Add these lines to /etc/rc.local
to run them at boot.
This module works at least on X220.
For anybody getting permission denied even with sudo privileges, tryecho 60 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
.
– Andrey Kaipov
Jan 21 '16 at 5:36
add a comment |
Newer Lenovo ThinkPads (such as my E540) are not compatible with tp_smapi-dkms. Fortunately I found that the TLP utility can use either of two different modules -- the tp_smapi OR the thinkpad_acpi DKMS modules -- to communicate the thresholds to the battery.
Nowadays TLP is available via standard Ubuntu or Debian repositories. (Though you may benefit from the latest version available using TLP website to install the packages.)
After installing TLP, set the battery charge thresholds using two lines in the configuration file /etc/default/tlp
START_CHARGE_THRESH_BAT0=65
STOP_CHARGE_THRESH_BAT0=80
This example tells TLP to set the battery thresholds to start charging at 65% and stop charging at 80%. I find that the thresholds persist correctly even when booting into a different OS that doesn't have TLP installed. (Though I presume if you booted into Windows or another OS that DOES have power management tools installed, that OS might overwrite the previously set charge thresholds.)
To TEMPORARILY bring the battery to a full charge, issue the following terminal command:
$ sudo tlp fullcharge
The battery will then charge to its maximum capacity, and revert to the previous thresholds afterwards.
Note: If your laptop is not a "ThinkPad," TLP probably cannot set your battery charge levels. If your vendor supplies a power management utility for Windows, you can probably boot using some form of Windows to set the battery charge levels and then reboot into linux. In my experience, the battery charge threshold settings persist after system reboots.
This only works for ThinkPads, what about other models?
– Akronix
Nov 25 '18 at 18:20
@Akronix I believe TLP can be installed on several different kinds of laptop, and depending upon the hardware, firmware, and architecture, relies upon different libraries. I only recently became more aware of the different libraries because my relatively modern Lenovo uses TLP slightly differently than older ThinkPads.
– Tommy Trussell
Dec 3 '18 at 23:30
However, it does not work in my G-Series Lenovo
– Akronix
Jan 20 at 12:27
@Akronix I had to look ... my ThinkPad is an E540. By following the menus at support.lenovo.com I determined that mine is known as an "Edge Series Thinkpad." I had to explore many sites before I got almost all of the hardware working as I wanted (I gave up on the fingerprint sensor, for example).
– Tommy Trussell
Jan 27 at 21:46
1
@Akronix yeah, I have never booted Windows on mine. I probably still have the disks, but I've tried to stay "pure." Unfortunately Lenovo has apparently quietly quit supporting linux even on my model, even though I bought it BECAUSE it was "certified" for Ubuntu and Red Hat.
– Tommy Trussell
Jan 31 at 15:12
|
show 5 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f48534%2fhow-to-adjust-charging-thresholds-of-laptop-battery%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to install tp_smapi-dkms
, just do
apt-get install tp_smapi-dkms
When finished, use lsmod | grep tp_smapi
to check if module is loaded, to adjust the charge thresholds, do something like this
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 60 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
Add these lines to /etc/rc.local
to run them at boot.
This module works at least on X220.
For anybody getting permission denied even with sudo privileges, tryecho 60 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
.
– Andrey Kaipov
Jan 21 '16 at 5:36
add a comment |
You need to install tp_smapi-dkms
, just do
apt-get install tp_smapi-dkms
When finished, use lsmod | grep tp_smapi
to check if module is loaded, to adjust the charge thresholds, do something like this
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 60 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
Add these lines to /etc/rc.local
to run them at boot.
This module works at least on X220.
For anybody getting permission denied even with sudo privileges, tryecho 60 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
.
– Andrey Kaipov
Jan 21 '16 at 5:36
add a comment |
You need to install tp_smapi-dkms
, just do
apt-get install tp_smapi-dkms
When finished, use lsmod | grep tp_smapi
to check if module is loaded, to adjust the charge thresholds, do something like this
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 60 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
Add these lines to /etc/rc.local
to run them at boot.
This module works at least on X220.
You need to install tp_smapi-dkms
, just do
apt-get install tp_smapi-dkms
When finished, use lsmod | grep tp_smapi
to check if module is loaded, to adjust the charge thresholds, do something like this
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 60 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
Add these lines to /etc/rc.local
to run them at boot.
This module works at least on X220.
edited Sep 19 '12 at 1:50
answered Sep 19 '12 at 1:45
daisydaisy
28.8k49171302
28.8k49171302
For anybody getting permission denied even with sudo privileges, tryecho 60 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
.
– Andrey Kaipov
Jan 21 '16 at 5:36
add a comment |
For anybody getting permission denied even with sudo privileges, tryecho 60 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
.
– Andrey Kaipov
Jan 21 '16 at 5:36
For anybody getting permission denied even with sudo privileges, try
echo 60 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
.– Andrey Kaipov
Jan 21 '16 at 5:36
For anybody getting permission denied even with sudo privileges, try
echo 60 | sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh
.– Andrey Kaipov
Jan 21 '16 at 5:36
add a comment |
Newer Lenovo ThinkPads (such as my E540) are not compatible with tp_smapi-dkms. Fortunately I found that the TLP utility can use either of two different modules -- the tp_smapi OR the thinkpad_acpi DKMS modules -- to communicate the thresholds to the battery.
Nowadays TLP is available via standard Ubuntu or Debian repositories. (Though you may benefit from the latest version available using TLP website to install the packages.)
After installing TLP, set the battery charge thresholds using two lines in the configuration file /etc/default/tlp
START_CHARGE_THRESH_BAT0=65
STOP_CHARGE_THRESH_BAT0=80
This example tells TLP to set the battery thresholds to start charging at 65% and stop charging at 80%. I find that the thresholds persist correctly even when booting into a different OS that doesn't have TLP installed. (Though I presume if you booted into Windows or another OS that DOES have power management tools installed, that OS might overwrite the previously set charge thresholds.)
To TEMPORARILY bring the battery to a full charge, issue the following terminal command:
$ sudo tlp fullcharge
The battery will then charge to its maximum capacity, and revert to the previous thresholds afterwards.
Note: If your laptop is not a "ThinkPad," TLP probably cannot set your battery charge levels. If your vendor supplies a power management utility for Windows, you can probably boot using some form of Windows to set the battery charge levels and then reboot into linux. In my experience, the battery charge threshold settings persist after system reboots.
This only works for ThinkPads, what about other models?
– Akronix
Nov 25 '18 at 18:20
@Akronix I believe TLP can be installed on several different kinds of laptop, and depending upon the hardware, firmware, and architecture, relies upon different libraries. I only recently became more aware of the different libraries because my relatively modern Lenovo uses TLP slightly differently than older ThinkPads.
– Tommy Trussell
Dec 3 '18 at 23:30
However, it does not work in my G-Series Lenovo
– Akronix
Jan 20 at 12:27
@Akronix I had to look ... my ThinkPad is an E540. By following the menus at support.lenovo.com I determined that mine is known as an "Edge Series Thinkpad." I had to explore many sites before I got almost all of the hardware working as I wanted (I gave up on the fingerprint sensor, for example).
– Tommy Trussell
Jan 27 at 21:46
1
@Akronix yeah, I have never booted Windows on mine. I probably still have the disks, but I've tried to stay "pure." Unfortunately Lenovo has apparently quietly quit supporting linux even on my model, even though I bought it BECAUSE it was "certified" for Ubuntu and Red Hat.
– Tommy Trussell
Jan 31 at 15:12
|
show 5 more comments
Newer Lenovo ThinkPads (such as my E540) are not compatible with tp_smapi-dkms. Fortunately I found that the TLP utility can use either of two different modules -- the tp_smapi OR the thinkpad_acpi DKMS modules -- to communicate the thresholds to the battery.
Nowadays TLP is available via standard Ubuntu or Debian repositories. (Though you may benefit from the latest version available using TLP website to install the packages.)
After installing TLP, set the battery charge thresholds using two lines in the configuration file /etc/default/tlp
START_CHARGE_THRESH_BAT0=65
STOP_CHARGE_THRESH_BAT0=80
This example tells TLP to set the battery thresholds to start charging at 65% and stop charging at 80%. I find that the thresholds persist correctly even when booting into a different OS that doesn't have TLP installed. (Though I presume if you booted into Windows or another OS that DOES have power management tools installed, that OS might overwrite the previously set charge thresholds.)
To TEMPORARILY bring the battery to a full charge, issue the following terminal command:
$ sudo tlp fullcharge
The battery will then charge to its maximum capacity, and revert to the previous thresholds afterwards.
Note: If your laptop is not a "ThinkPad," TLP probably cannot set your battery charge levels. If your vendor supplies a power management utility for Windows, you can probably boot using some form of Windows to set the battery charge levels and then reboot into linux. In my experience, the battery charge threshold settings persist after system reboots.
This only works for ThinkPads, what about other models?
– Akronix
Nov 25 '18 at 18:20
@Akronix I believe TLP can be installed on several different kinds of laptop, and depending upon the hardware, firmware, and architecture, relies upon different libraries. I only recently became more aware of the different libraries because my relatively modern Lenovo uses TLP slightly differently than older ThinkPads.
– Tommy Trussell
Dec 3 '18 at 23:30
However, it does not work in my G-Series Lenovo
– Akronix
Jan 20 at 12:27
@Akronix I had to look ... my ThinkPad is an E540. By following the menus at support.lenovo.com I determined that mine is known as an "Edge Series Thinkpad." I had to explore many sites before I got almost all of the hardware working as I wanted (I gave up on the fingerprint sensor, for example).
– Tommy Trussell
Jan 27 at 21:46
1
@Akronix yeah, I have never booted Windows on mine. I probably still have the disks, but I've tried to stay "pure." Unfortunately Lenovo has apparently quietly quit supporting linux even on my model, even though I bought it BECAUSE it was "certified" for Ubuntu and Red Hat.
– Tommy Trussell
Jan 31 at 15:12
|
show 5 more comments
Newer Lenovo ThinkPads (such as my E540) are not compatible with tp_smapi-dkms. Fortunately I found that the TLP utility can use either of two different modules -- the tp_smapi OR the thinkpad_acpi DKMS modules -- to communicate the thresholds to the battery.
Nowadays TLP is available via standard Ubuntu or Debian repositories. (Though you may benefit from the latest version available using TLP website to install the packages.)
After installing TLP, set the battery charge thresholds using two lines in the configuration file /etc/default/tlp
START_CHARGE_THRESH_BAT0=65
STOP_CHARGE_THRESH_BAT0=80
This example tells TLP to set the battery thresholds to start charging at 65% and stop charging at 80%. I find that the thresholds persist correctly even when booting into a different OS that doesn't have TLP installed. (Though I presume if you booted into Windows or another OS that DOES have power management tools installed, that OS might overwrite the previously set charge thresholds.)
To TEMPORARILY bring the battery to a full charge, issue the following terminal command:
$ sudo tlp fullcharge
The battery will then charge to its maximum capacity, and revert to the previous thresholds afterwards.
Note: If your laptop is not a "ThinkPad," TLP probably cannot set your battery charge levels. If your vendor supplies a power management utility for Windows, you can probably boot using some form of Windows to set the battery charge levels and then reboot into linux. In my experience, the battery charge threshold settings persist after system reboots.
Newer Lenovo ThinkPads (such as my E540) are not compatible with tp_smapi-dkms. Fortunately I found that the TLP utility can use either of two different modules -- the tp_smapi OR the thinkpad_acpi DKMS modules -- to communicate the thresholds to the battery.
Nowadays TLP is available via standard Ubuntu or Debian repositories. (Though you may benefit from the latest version available using TLP website to install the packages.)
After installing TLP, set the battery charge thresholds using two lines in the configuration file /etc/default/tlp
START_CHARGE_THRESH_BAT0=65
STOP_CHARGE_THRESH_BAT0=80
This example tells TLP to set the battery thresholds to start charging at 65% and stop charging at 80%. I find that the thresholds persist correctly even when booting into a different OS that doesn't have TLP installed. (Though I presume if you booted into Windows or another OS that DOES have power management tools installed, that OS might overwrite the previously set charge thresholds.)
To TEMPORARILY bring the battery to a full charge, issue the following terminal command:
$ sudo tlp fullcharge
The battery will then charge to its maximum capacity, and revert to the previous thresholds afterwards.
Note: If your laptop is not a "ThinkPad," TLP probably cannot set your battery charge levels. If your vendor supplies a power management utility for Windows, you can probably boot using some form of Windows to set the battery charge levels and then reboot into linux. In my experience, the battery charge threshold settings persist after system reboots.
edited Jan 31 at 16:44
answered Mar 17 '15 at 14:12
Tommy TrussellTommy Trussell
21124
21124
This only works for ThinkPads, what about other models?
– Akronix
Nov 25 '18 at 18:20
@Akronix I believe TLP can be installed on several different kinds of laptop, and depending upon the hardware, firmware, and architecture, relies upon different libraries. I only recently became more aware of the different libraries because my relatively modern Lenovo uses TLP slightly differently than older ThinkPads.
– Tommy Trussell
Dec 3 '18 at 23:30
However, it does not work in my G-Series Lenovo
– Akronix
Jan 20 at 12:27
@Akronix I had to look ... my ThinkPad is an E540. By following the menus at support.lenovo.com I determined that mine is known as an "Edge Series Thinkpad." I had to explore many sites before I got almost all of the hardware working as I wanted (I gave up on the fingerprint sensor, for example).
– Tommy Trussell
Jan 27 at 21:46
1
@Akronix yeah, I have never booted Windows on mine. I probably still have the disks, but I've tried to stay "pure." Unfortunately Lenovo has apparently quietly quit supporting linux even on my model, even though I bought it BECAUSE it was "certified" for Ubuntu and Red Hat.
– Tommy Trussell
Jan 31 at 15:12
|
show 5 more comments
This only works for ThinkPads, what about other models?
– Akronix
Nov 25 '18 at 18:20
@Akronix I believe TLP can be installed on several different kinds of laptop, and depending upon the hardware, firmware, and architecture, relies upon different libraries. I only recently became more aware of the different libraries because my relatively modern Lenovo uses TLP slightly differently than older ThinkPads.
– Tommy Trussell
Dec 3 '18 at 23:30
However, it does not work in my G-Series Lenovo
– Akronix
Jan 20 at 12:27
@Akronix I had to look ... my ThinkPad is an E540. By following the menus at support.lenovo.com I determined that mine is known as an "Edge Series Thinkpad." I had to explore many sites before I got almost all of the hardware working as I wanted (I gave up on the fingerprint sensor, for example).
– Tommy Trussell
Jan 27 at 21:46
1
@Akronix yeah, I have never booted Windows on mine. I probably still have the disks, but I've tried to stay "pure." Unfortunately Lenovo has apparently quietly quit supporting linux even on my model, even though I bought it BECAUSE it was "certified" for Ubuntu and Red Hat.
– Tommy Trussell
Jan 31 at 15:12
This only works for ThinkPads, what about other models?
– Akronix
Nov 25 '18 at 18:20
This only works for ThinkPads, what about other models?
– Akronix
Nov 25 '18 at 18:20
@Akronix I believe TLP can be installed on several different kinds of laptop, and depending upon the hardware, firmware, and architecture, relies upon different libraries. I only recently became more aware of the different libraries because my relatively modern Lenovo uses TLP slightly differently than older ThinkPads.
– Tommy Trussell
Dec 3 '18 at 23:30
@Akronix I believe TLP can be installed on several different kinds of laptop, and depending upon the hardware, firmware, and architecture, relies upon different libraries. I only recently became more aware of the different libraries because my relatively modern Lenovo uses TLP slightly differently than older ThinkPads.
– Tommy Trussell
Dec 3 '18 at 23:30
However, it does not work in my G-Series Lenovo
– Akronix
Jan 20 at 12:27
However, it does not work in my G-Series Lenovo
– Akronix
Jan 20 at 12:27
@Akronix I had to look ... my ThinkPad is an E540. By following the menus at support.lenovo.com I determined that mine is known as an "Edge Series Thinkpad." I had to explore many sites before I got almost all of the hardware working as I wanted (I gave up on the fingerprint sensor, for example).
– Tommy Trussell
Jan 27 at 21:46
@Akronix I had to look ... my ThinkPad is an E540. By following the menus at support.lenovo.com I determined that mine is known as an "Edge Series Thinkpad." I had to explore many sites before I got almost all of the hardware working as I wanted (I gave up on the fingerprint sensor, for example).
– Tommy Trussell
Jan 27 at 21:46
1
1
@Akronix yeah, I have never booted Windows on mine. I probably still have the disks, but I've tried to stay "pure." Unfortunately Lenovo has apparently quietly quit supporting linux even on my model, even though I bought it BECAUSE it was "certified" for Ubuntu and Red Hat.
– Tommy Trussell
Jan 31 at 15:12
@Akronix yeah, I have never booted Windows on mine. I probably still have the disks, but I've tried to stay "pure." Unfortunately Lenovo has apparently quietly quit supporting linux even on my model, even though I bought it BECAUSE it was "certified" for Ubuntu and Red Hat.
– Tommy Trussell
Jan 31 at 15:12
|
show 5 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f48534%2fhow-to-adjust-charging-thresholds-of-laptop-battery%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try
modprobe tp_smapi
as root, and then see if the files under/sys/devices/platform/smapi
are there.– Renan
Sep 18 '12 at 17:18
@Renan: the module is not found
FATAL: Module tp_smapi not found.
.– Tim
Sep 18 '12 at 17:44
1
Install tp_smapi according to the instructions there: thinkwiki.org/wiki/… then try again.
– Renan
Sep 18 '12 at 17:46
@Renan: Is tp_smapi only for Lenovo laptops? Are battery charging management modules different for different brands of laptops?
– Tim
Sep 19 '12 at 1:54
Some Lenovo laptops have specific features which tp_smapi gives you access to. I don't know about other brands, but they probably have similar tools (I have a Dell laptop and I see that I have a
dell_laptop
anddell_wmi
module, for example; I never explored it to see what it does)– Renan
Sep 19 '12 at 2:17