Mots-clés: batterie, li-ion, image iso, grub, menu de grub, liens symboliques, périphérique virtuel (loop device)…
Cette section s'appuie sur les mêmes procédures que l'article Icaunux BIOS Upgrade avec Grub
Il s'agit de récupérer des fichiers IMA ou ISO contenant les programmes voulus, puis de les ajouter dans le répertoire boot, enfin de modifier Grub.
Un programme existe chez IBM/Lenovo qui permet de “rénover” une batterie en la déchargeant, puis en la rechargeant plusieurs fois.
Le PC ne doit pas être utilisé; le processus est assez long, mais on peut récupérer de 10 à 20 % de la capacité de la batterie selon son état au moment de l'opération.
Le programme (en exe pour windows) est disponible pour les portables IBM /Lenovo, sur le site d'IBM. Il peut être utilisé moyennant quelques manipulations sous linux !
Si une image ISO existe, la préférer.
This will do nothing to improve the performance of a dying battery. It serves only to recalibrate the battery charge controller. The “Battery Rundown” function of IBMs “PC Doctor for DOS” has no intelligence.
It merely runs a series of dumb operations to consume battery power, and it cannot detect whether a battery is present or not.
If you leave the mains connected while running “Battery Rundown”, it will have no effect, as the battery will simply keep charging.
https://www.thinkwiki.org/wiki/Tp_smapi#Installation_on_Debian_and_Ubuntu
Tp_smapi ok pour pc anciens.
If you are installing on a recent Thinkpad that has an Ivy Bridge or newer processor (X230, T430, T530, etc.), tp_smapi will not work. You will be mostly limited to thinkpad-acpi capabilities. You can however set battery charge thresholds with tpacpi-bat.
Donc pas d'infos sur les cycles de charge…
The tp_smapi module, if installed, will report the number of charge cycles the battery has had since it was manufactured.
If that number is high, the battery's poor performance is almost certainly due to its age
Rénover sa batterie de lenovo depuis linux Reviving_batteries
Lancer l'exe avec wine. Cet exe est en fait un fichier compressé.
L'exécuter va le décompresser avec wine. La décompression s' effectue où l'on veut.
debian-l10n-french_Traduction_loop-device
Thomas a écrit: “Mon point de vue sur la traduction de “loop device” serait périphérique virtuel. Il existe la possibilité de monter un système de fichier complet à partir d'une image ISO par la commande mount -o loop votre fichier /mnt/iso”
“Car même si on connait l'interface réseau lo pour le loopback réseau, le rajout de réseau me semble abusif sauf si le contexte est clairement orienté réseau. Sinon, il faudra prendre périphérique virtuel”.
mount -o loop 1ety48ww.iso /mnt/floppy
Copier et extraire ensuite l' iso dans le rép floppy ( le créer s'il n'existe pas) puis le monter.
On devrait avoir :
cp 1ety48ww.iso /mnt/floppy
puis
cd /mnt/floppy
Ensuite copier le fichier IMA de cette iso dans le rép boot.
cp 1ety48ww.IMA /boot
Il faudra ensuite modifier grub2 pour y ajouter une entrée supplémentaire dans le menu. ce qui permettra de temps à autre de lancer cet utilitaire au démarrage.
Ci-dessous, la méthode plus simple si on dispose d'une ISO.
Puis suite de la prodédure, valable dans les deux cas de figure au paragraphe: “Créez l'entrée de boot dans Grub2”
sudo su - cd /boot cp /home/youruser/Downloads/1ety48ww.iso
symlink en anglais.
Le lien symbolique permet d'attribuer un autre chemin d'accès à un fichier en pointant sur un nom de fichier.
Créez un lien symbolique, ainsi vous n' aurez plus à modifier la configuration de Grub lors des prochains upgrades.
ln -s 1ety48ww.iso maintenance-batterie.iso
Vous devez connaître votre partition de boot.Elle ne se nomme par forcément (hd0,1).
Nous avons affaire avec grub2 reconnaissable à son menu configurable en sous-sections (ex: 40_custom…)
Elle affiche le contenu d'un fichier. Mais la syntaxe ci-dessous telle quelle est inopérante dans Ubuntu.
cat >> /etc/grub.d/40_custom <<EOF menuentry "Maintenance Batterie" { set root=(hd0,1) # <-- vérifier que c'est votre partition !! linux16 /boot/memdisk iso initrd16 /boot/1ety48ww.iso.iso } EOF
sudo gedit /boot/grub/grub.cfg
With grub2, one would append the following to /boot/grub/grub.cfg: Ajouter ce qui suit au fichier grub.cfg
menuentry “Maintenance Batterie” { set root=(hd0,1) #should match the others in your grub.cfg linux16 /boot/memdisk initrd16 /boot/1ety48ww.IMA #or whatever yours is }
update-grub
Sélectionnez Maintenance Batterie .
In general, rechargeable batteries store electrical energy through chemical reaction, therefore, capacity will change by temperature, unused storage period, load condition, and number of cycles used.The following instructions provides tips on how to obtain the best battery condition to extend battery rundown time:
To obtain maximum performance, all chemical materials in the battery must be fully activated. In order to achieve this:
It is recommended that you deep-discharge your Ni-MH battery every few months for optimum performance. Deep-discharge occurs when your ThinkPad system is used on battery power until the charge is at 0% (the system will automatically go into hibernation). At this point, attach the AC adapter and charge to 100%.
Do not deep-discharge Lithium Ion batteries. Batteries can degrade when they are left unused for long periods of time.For some rechargeable batteries (particularly Lithium Ion batteries), leaving a battery unused in a discharged state could increase the risk of a battery short circuit, which could shorten the life of the battery and can also pose a safety hazard.Do not let rechargeable Lithium-Ion batteries completely discharge or store these batteries in a discharged state.
Batteries in a Portable World: A Handbook on Rechargeable Batteries for Non-Engineers, Second Edition Third Edition by Isidor Buchmann (Apr 11, 2011)
How to get the most out of your battery
how_to_prolong_lithium_based_batteries
aftermarket_batteries_and_what_everyone_should_know
outils Batterie_maintenance_sous_linux