doc:appunti:linux:lenovo_thinkpad_l380
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:lenovo_thinkpad_l380 [2025/11/28 17:01] – [Battery] niccolo | doc:appunti:linux:lenovo_thinkpad_l380 [2025/12/07 06:26] (current) – [Battery] niccolo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== GNU/Linux on the Lenovo ThinkPad L380 ====== | ====== GNU/Linux on the Lenovo ThinkPad L380 ====== | ||
| + | |||
| + | Notes about installing **Debian GNU/Linux 13 Trixie** on the **Lenovo ThinkPad L380** notebook. | ||
| ^ CPU | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 4 cores | | ^ CPU | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 4 cores | | ||
| Line 19: | Line 21: | ||
| Replacing the SSD requires to **disassemble tha back** of the notebook, unscrewing the **9 screws** and gently separating the back cover with a plastic blade. | Replacing the SSD requires to **disassemble tha back** of the notebook, unscrewing the **9 screws** and gently separating the back cover with a plastic blade. | ||
| - | ===== Installing Debian | + | ===== Installing Debian |
| === Supported devices === | === Supported devices === | ||
| Line 34: | Line 36: | ||
| ===== BIOS ===== | ===== BIOS ===== | ||
| - | FIXME | + | ^ UEFI BIOS Verion |
| + | ^ UEFI BIOS Date | 2018-05-24 | ||
| + | ^ Embedded Controller Version | ||
| + | ^ ME Firmware Version | ||
| + | ^ Machine Type Model | 20M6S1NA00 | ||
| + | |||
| + | * BIOS | ||
| + | * Config | ||
| + | * Fn and Ctrl Key swap [Enabled] | ||
| + | * F1-F12 as Primary Function [Enabled] | ||
| ===== Battery ===== | ===== Battery ===== | ||
| Line 75: | Line 86: | ||
| < | < | ||
| # Battery charge level below which charging will begin when connecting the charger. | # Battery charge level below which charging will begin when connecting the charger. | ||
| - | START_CHARGE_THRESH_BAT0=75 | + | START_CHARGE_THRESH_BAT0=80 |
| # Battery charge level above which charging will stop while the charger is connected. | # Battery charge level above which charging will stop while the charger is connected. | ||
| - | STOP_CHARGE_THRESH_BAT0=80 | + | STOP_CHARGE_THRESH_BAT0=85 |
| </ | </ | ||
| - | :!: **NOTICE**: Once configured and restarted the service, the output of '' | + | :!: **NOTICE**: Once configured and restarted the service, the output of '' |
| + | |||
| + | === Setcharge: start and stop (end) thresholds === | ||
| + | |||
| + | To change the battery charge thresholds temporarily you can issue the command: | ||
| + | |||
| + | < | ||
| + | tlp setcharge 0 90 | ||
| + | </ | ||
| + | |||
| + | this will e.g. raise the **stop threshold** to 90%. You can restore the defaults executing the command without the threshold arguments: | ||
| + | |||
| + | < | ||
| + | tlp setcharge | ||
| + | </ | ||
| + | |||
| + | :!: **NOTICE**: As noted above, after you set the **charge_control_end_threshold**, | ||
| + | |||
| + | You can also trigger a battery charge to the full capacity (according to the vendor presets) issuing the command (FIXME check if this is actually working): | ||
| + | |||
| + | < | ||
| + | tlp fullcharge | ||
| + | </ | ||
| + | |||
| + | === Recalibrate === | ||
| + | |||
| + | While on AC power you can force a recalibration cycle, i.e. completely discharge the battery and recharge to 100%, by issuing the command: | ||
| + | |||
| + | < | ||
| + | tlp recalibrate | ||
| + | </ | ||
| + | |||
| + | The **recalibrate** procedure is actually an interactive multistep process. The program will set the start and stop thresholds to 96 and switches the **charge_behaviour** | ||
| + | |||
| + | === charge_behaviour === | ||
| + | |||
| + | The following command will force the battery status to **Discharging**, | ||
| + | |||
| + | < | ||
| + | # Sometime need to be issued two times to work. | ||
| + | echo " | ||
| + | </ | ||
| + | |||
| + | This command instead does not work, the '' | ||
| + | |||
| + | < | ||
| + | # Does not work! | ||
| + | echo " | ||
| + | </ | ||
| + | |||
| + | The default behavior is **auto** where the BIOS should take care of the best setting: | ||
| + | |||
| + | < | ||
| + | echo " | ||
| + | </ | ||
| + | According to this **[[https:// | ||
| ===== Boot on lid opening ===== | ===== Boot on lid opening ===== | ||
doc/appunti/linux/lenovo_thinkpad_l380.1764345672.txt.gz · Last modified: by niccolo
