Questions sur l'installation et la configuration de Manjaro Linux.
Répondre

Optimiser sa batterie sous manjaro

#1Messageil y a 9 ans

Hello,

Avez-vous des astuces pour optimiser au mieux sa batterie ?

J'ai regardé le wiki mais je pensais peut-être à tord que linux serait moins énergivore que windows ?!

Merci pour vos retours d'astuces :idea:

NB : de mon côté je cherche a pouvoir régler au mieux, au lux près la luminosité, c'est possible cela ?

Optimiser sa batterie sous manjaro

#2Messageil y a 9 ans

Essaye déjà en utilisant les outils de la suite TLP : https://wiki.archlinux.org/index.php/TLP

Ce n'est pas miraculeux, mais j'arrive à gagner une vingtaine de minutes sur la batterie de mon portable Toshiba, et pas loin de 45 minutes à une heure sur mon vieil Asus eeePC.

Optimiser sa batterie sous manjaro

#3Messageil y a 9 ans

Bonjour
Otacon l'Econome(pas de son savoir) a fait un tuto

Optimiser sa batterie sous manjaro

#4Messageil y a 9 ans

HEllo,

Et pour affiner les lux en luminosité vous avez personnalisé votre fihcier ? /sys/class/backlight/*/brightness ???

Le but de la manoeuvre serait même si je dois appuyer 10 fois supplémentaire serait de faire office de variateur car par exemple mon fichier ne me fait pas un écran noir si je suis au mini .... !!!

Je vais regarder les liens transmis.

Pour TLP tu as modifier des fichiers et si oui lesquels et comment ?

Optimiser sa batterie sous manjaro

#5Messageil y a 9 ans

B'soir,

Voici ce que donne le retour du terminal car tlp est déjà installé sur ma manjaro :

[manjaro@manjaro ~]$ tlp-stat
Error: missing root privilege.
[manjaro@manjaro ~]$ sudo tlp-stat
[sudo] password for manjaro:
--- TLP 0.7 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="254 254"
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_ALL=0
USB_AUTOSUSPEND=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0

+++ System Info
System         = ASUSTeK COMPUTER INC. 1.0 X751LK
BIOS           = X751LK.201
Release        = "Manjaro Linux"
Kernel         = 3.19.3-1-MANJARO x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-319-x86_64 root=UUID=afc22924-7fcd-4644-9908-bfd4c8d7413d rw acpi_osi= quiet splash
Init system    = systemd

+++ System Status
TLP power save = enabled
power source   = battery

+++ Processor
CPU Model      = Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3100000 [kHz]

/sys/devices/system/cpu/intel_pstate/min_perf_pct      = 25
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100
/sys/devices/system/cpu/intel_pstate/no_turbo          = 0

x86_energy_perf_policy: program not installed.

/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp               =    40 [°C]
Fan speed              = (not available)

+++ File System
/proc/sys/vm/laptop_mode               =     2
/proc/sys/vm/dirty_writeback_centisecs =  6000
/proc/sys/vm/dirty_expire_centisecs    =  6000
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10
/proc/sys/fs/xfs/age_buffer_centisecs  = (not available)
/proc/sys/fs/xfs/xfssyncd_centisecs    = (not available)
/proc/sys/fs/xfs/xfsbufd_centisecs     = (not available)

+++ Storage Devices
/dev/sda:
          Model     = ST1000LM024 HN-M101MBB                 
          Firmware  = 2BA30001
          APM Level = 254
          Status    = active/idle
          Scheduler = bfq

        SMART info:
            4 Start_Stop_Count          =      132
            5 Reallocated_Sector_Ct     =        0
            9 Power_On_Hours            =      199 [h]
          194 Temperature_Celsius       =       28 (Min/Max 17/38)  [°C]
          225 Load_Cycle_Count          =     1834

/dev/sdb:
          Model     = KINGSTON SMSM150S324G2                 
          Firmware  = S8FM06.8
          APM Level = 254
          Status    = active/idle
          TRIM      = supported
          Scheduler = bfq

        SMART info:
            5 Reallocated_Sector_Ct     =        0
            9 Power_On_Hours            =      191 [h]
          194 Temperature_Celsius       =       32    [°C]
          233 Media_Wearout_Indicator   =      100 [%]
          241 Total_LBAs_Written        =    0.000 [TB]


+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy  = min_power
/sys/class/scsi_host/host1/link_power_management_policy  = min_power
/sys/class/scsi_host/host2/link_power_management_policy  = min_power
/sys/class/scsi_host/host3/link_power_management_policy  = min_power

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)

+++ Intel Graphics
/sys/module/i915/parameters/powersave        =  1 (enabled)
/sys/module/i915/parameters/enable_rc6       =  1 (enabled)
/sys/module/i915/parameters/enable_fbc       = -1 (use per-chip default)
/sys/module/i915/parameters/lvds_downclock   =  0 (disabled)
/sys/module/i915/parameters/semaphores       = -1 (use per-chip default)

+++ Wireless
bluetooth = off (software)
wifi      = on
wwan      = none (no device)

wlp3s0(ath9k)       : connected, power management = off

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ Runtime Power Management
device classes   = Ethernet, Wireless, Audio, Host Bridge, [SD] Card Reader, Firewire
device blacklist = (not configured)
driver blacklist = (not configured)

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:03.0/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:04.0/power/control = on   (0x118000, Signal processing controller, proc_thermal)
/sys/bus/pci/devices/0000:00:14.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:16.0/power/control = on   (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.2/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on   (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on   (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:00:1f.6/power/control = on   (0x118000, Signal processing controller, no driver)
/sys/bus/pci/devices/0000:02:00.0/power/control = on   (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:02:00.1/power/control = auto (0x020000, Ethernet controller, no driver)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x028000, Network controller, ath9k)
/sys/bus/pci/devices/0000:04:00.0/power/control = on   (0x030200, 3D controller, no driver)

+++ USB
autosuspend        = enabled
device whitelist   = (not configured)
device blacklist   = (not configured)
driver blacklist   = (not configured)
wwan blacklist     = enabled (cdc_acm cdc_wdm cdc_ether hso qcserial sierra)

Bus 003 Device 002 ID 8087:8000 control = auto, autosuspend_delay_ms =     0 -- Intel Corp.  (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 003 ID 0bda:57bc control = auto, autosuspend_delay_ms =  2000 -- Realtek Semiconductor Corp.  (uvcvideo)
Bus 001 Device 002 ID 046d:c05b control = on,   autosuspend_delay_ms =  2000 -- Logitech, Inc. M-U0004 810-001317 [B110 Optical USB Mouse] (usbhid)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Status
/sys/class/power_supply/BAT0/manufacturer                   = ASUSTeK
/sys/class/power_supply/BAT0/model_name                     = X550E26
/sys/class/power_supply/BAT0/cycle_count                    =     14
/sys/class/power_supply/BAT0/energy_full_design             =  37440 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  36201 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  29203 [mWh]
/sys/class/power_supply/BAT0/power_now                      =  14328 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

[manjaro@manjaro ~]$

Optimiser sa batterie sous manjaro

#6Messageil y a 9 ans

quelle est ta consommation en IDLE ? Tu peux la connaître en utilisant powertop.

Optimiser sa batterie sous manjaro

#7Messageil y a 9 ans

Optimiser sa batterie sous manjaro

#8Messageil y a 9 ans

Bonsoir,
Bonsoir,

J'ai un bon B******** à présent depuis cette installation .....

Voici ce que j'ai en voulant aller dans mes partitions depuis le bureau manjaro

Error mounting /dev/sda4 at /run/media/manjaro/OS: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=100" "/dev/sda4" "/run/media/manjaro/OS"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda4': Opération non permise
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.


Une idée ???

Optimiser sa batterie sous manjaro

#9Messageil y a 9 ans

dans nano, pour les commandes regarde en bas : pour enregistrer -> ctrl+O

Pour l'erreur d'après, ça n'a rien à voir avec powertop.

Tu as ouvert Windows entre temps ? La réponse est dans le message d'erreur : la partition ntfs est dans un état non sécurisé, tu n'as pas éteins windows completement ?

quel est le retour de :

cat /etc/fstab

Optimiser sa batterie sous manjaro

#10Messageil y a 9 ans

Hello,

Voici le retour console ...

[manjaro@manjaro ~]$ cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system>   <dir>   <type>   <options>   <dump>   <pass>
# DEVICE DETAILS: /dev/sda7 PARTUUID=af36a71e-e08c-4542-a2c4-a6c5cac176b0 PARTLABEL= UUID=afc22924-7fcd-4644-9908-bfd4c8d7413d LABEL=manjaro
PARTUUID=af36a71e-e08c-4542-a2c4-a6c5cac176b0 / ext4 defaults 0 1
[manjaro@manjaro ~]$


EDIT : j'ai remis à jour windows et c'est bon, donc soucis côté win .....
je vais donc poursuivre ma découverte et installation de Powertop

Optimiser sa batterie sous manjaro

#11Messageil y a 9 ans

Ok procédure d'installation version OTACOn réalisée .... maintenant je cherche powertop en mode graphique ....
Répondre