mirror of https://framagit.org/kyodev/kyopages.git
getInfo 2.8.3
This commit is contained in:
parent
c178278ece
commit
b96fd952df
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=2.8.2
|
||||
version=2.8.3
|
||||
date="17/10/2017"
|
||||
projet="simpledeb"
|
||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
|
||||
|
@ -968,7 +968,7 @@ fi_usb(){ # 25/09/2017
|
|||
}
|
||||
|
||||
# informations batterie(s), assigne $fget_batt_nb $fget_batt
|
||||
figet_batt(){ # 16/10/2017
|
||||
figet_batt(){ # 17/10/2017
|
||||
local batt_detail batt_nb batt_alim batt_unit batt_capa_design batt_capa_full batt_capa_now batt_conso
|
||||
local batt_volt_min batt_volt_now batt_status batt_cycle batt_sn alert_batt_alarm
|
||||
local batt_sante batt_restant tempo batRep ibat uevent
|
||||
|
@ -1030,7 +1030,7 @@ figet_batt(){ # 16/10/2017
|
|||
# sortie
|
||||
batt_detail+="$ibat: $(cat $batRep/$ibat/manufacturer 2>/dev/null) "
|
||||
batt_detail+="($(cat $batRep/$ibat/model_name 2>/dev/null)) $(cat $batRep/$ibat/technology 2>/dev/null) "
|
||||
batt_detail+="$batt_capa_design$batt_unit - $batt_volt_min""V / $batt_volt_now""V (mini/actuel)"
|
||||
batt_detail+="$batt_capa_design$batt_unit - $batt_volt_min""V / $batt_volt_now""V (mini/actuel) "
|
||||
[ "$batt_sn" ] && batt_detail+="n° série: $batt_sn "
|
||||
[ "$batt_cycle" != "0" ] && batt_detail+="$batt_cycle cycles"$' \n' || batt_detail+=$' \n'
|
||||
[ "$batt_capa_full" ] && batt_detail+="pleine charge effective: $batt_capa_full$batt_unit, "
|
||||
|
|
|
@ -16,12 +16,12 @@
|
|||
* smartmontools/smartctl (root,temp?)
|
||||
* batterie souris? /sys/class/input/input19/ , 20
|
||||
filtrer temperature 0 (sur i5: 6temp!)
|
||||
* strings: /sys/class/hwmon/hwmon1/device/disp: Permission non accordée
|
||||
|
||||
---
|
||||
|
||||
* f__requis f__wget_test fscript_get_version fscript_update fscript_cronAnacron
|
||||
|
||||
## 2.8.1 17/10/2017
|
||||
## 2.8.3 17/10/2017
|
||||
|
||||
* nouveau: figet_hw_test, acpi -V si disponible, tests (temporaires) sur
|
||||
/sys/class/thermal/ & /sys/devices/virtual/thermal/ & hwmon0(méthode neofetch)
|
||||
|
|
Loading…
Reference in New Issue