Projektvorstellung: TLP – Linux Stromsparen

@SagiSchwarz: deine (wegeditierten) Symptome sind wirklich sehr außergewöhnlich. Hast Du die tatsächliche Ursache herausbekommen? (Link zum Thread bei uu.de)

Also zwischen TLP und der dann zerschossenen grafischen Oberfläche gab es wohl keine tatsächliche Beziehung. Nach der Deinstalltion von TLP startete sie beim ersten Versuch wieder (woraufhin ich zu schnelle Schlüsse gezogen und diesen Unsinn gepostet habe), beim nächsten Neustart dann wieder nicht und dann gefühlt nach dem Zufallsprinzip. Da also weder mein Sound richtig funktionierte und die grafische Oberfläche wohl auch zerschossen war, ich viel rumgespielt hatte und es ja auch noch eine Beta war, habe ich Ubuntu neu aufgesetzt und aktualisiert. Und auf dem frischen System hatte ich sofort wieder die Soundprobleme (funktionierende Kopfhörer, stumme Lautsprecher). Nachdem der Sound jetzt aber viele Tage richtug funktioniert, bin ich mir relativ sicher, dass ich das Problem behoben habe, indem ich im alsamixer "Auto-Mute" auf "Disabled" gestellt habe. Die Lautsprecher schalten sich immer noch korrekt ab, wenn ich Kopfhörer anschließe, und auch wieder an, wenn ich sie rausziehe. Alles scheint zu funktionieren und es hatte offenbar absolut nichts mit TLP zu tun. :rolleyes:
 
moin!
ich führe ein T410 mit ubuntu 12.x LTS
ich habs versucht die ladezücklen einzustellen und komm nicht weiter :(

Code:
sudo tlp-stat
zeigt folgendes
Code:
+++ ThinkPad Battery (Main)
/sys/devices/platform/smapi/BAT0/manufacturer = Panasonic
/sys/devices/platform/smapi/BAT0/model = 42T4753
/sys/devices/platform/smapi/BAT0/manufacture_date = 2010-11-16
/sys/devices/platform/smapi/BAT0/first_use_date = 2012-07-30
/sys/devices/platform/smapi/BAT0/cycle_count = 7
/sys/devices/platform/smapi/BAT0/design_capacity = 47520 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 45760 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 45760 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 100 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now = 0 [mW]
/sys/devices/platform/smapi/BAT0/power_avg = 0 [mW]

/sys/devices/platform/smapi/BAT0/start_charge_thresh = 96 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh = 100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge = 0

mit
Code:
 gksudo gedit /etc/default/tlp
will ich die schwellen in der textdatei editieren und habe folgendes stehen
Code:
# Battery charge thresholds (ThinkPad only, tp-smapi kernel module required)
# Charging starts when the remaining capacity falls below the START_CHARGE_TRESH
# value and stops when exceeding the STOP_CHARGE_TRESH value.
# Main battery (values in %)
#START_CHARGE_THRESH_BAT0=40
#STOP_CHARGE_THRESH_BAT0=97
# Ultrabay battery (values in %)
#START_CHARGE_THRESH_BAT1=40
#STOP_CHARGE_THRESH_BAT1=97

# Set to 1 to disable use of tpacpi-bat on Sandy Bridge Thinkpad models
# and force usage of tp-smapi instead
#DISABLE_TPACPIBAT=1
speichern schließen nochmal status abfragen und bekomme alte werte weiterhin angezeigt
selbst nach neustart ändert sich 0,nix

btw. im bios wurde mir ladegrente bei 97% gesetzt, die untere grenze habe ich noch nicht festlegen können, so dass ich immer miniladezücklen habe

hatwer eine idee was ich machen kaann?

thx
 
Willkommen im Forum!

Du musst die Zeilen die du änderst auch auskommentieren (das Rautezeichen am Anfang der Zeile wegnehmen).
 
Hallo,

ich nutze linux Mint 13 Cinnamon auf einem X200s. Die Datei /etc/default/tlp verstehe ich zu ändern, was sich auf die Batterie einstellungen auswirkt:
Code:
--- TLP 0.3.7.1 --------------------------------------------

+++ ThinkPad Battery (Main)
/sys/devices/platform/smapi/BAT0/manufacturer = SANYO
/sys/devices/platform/smapi/BAT0/model = 42T4649
/sys/devices/platform/smapi/BAT0/manufacture_date = 2010-01-18
/sys/devices/platform/smapi/BAT0/first_use_date = 2010-02-23
/sys/devices/platform/smapi/BAT0/cycle_count = 233
/sys/devices/platform/smapi/BAT0/design_capacity = 84240 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 60400 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 54220 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 90 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now = 0 [mW]
/sys/devices/platform/smapi/BAT0/power_avg = 0 [mW]

/sys/devices/platform/smapi/BAT0/start_charge_thresh = 50 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh = 95 [%]
/sys/devices/platform/smapi/BAT0/force_discharge = 0

Allerdings zeigt mir die Power Einstellung der standart Systemsteuerung/System Settings, dass der Akku geladen wird.
power.png
Anzumerken ist noch, das sich das Bild nicht ändert, solange ich am Strom bin. Es scheint also in Wirklichkeit nicht zu laden, ich hab aber sorge, das der Akku in Minizyklen geladen/entladen wird, weil Cinnamon die Schwellen nicht kapiert...

lg und vielen Dank im Voraus, bijah
 
keine sorge! cinnamon zeigt es lediglich falsch an. nach dem setzen der ladeschwellen kümmert sich afaik der ec (embedded controller) um die ladeschwellen. da kann cinnamon imho gar nicht zwischenfunken. wenn du mehr wissen willst, guck dir lieber die ausgabe von tlp-stat -b an. die daten kommen dann nämlich direkt vom ec
 
@bijah: gar kein Problem, musst Du nur selbst programmieren.

Alle Desktops-Apps verwenden die Standard-Schnittstelle des Kernels (Dateien unter /sys/class/power_supply/BAT0/), die, wenn Ladeschwellen wirken, den Ladestatus nicht richtig wiedergibt. Die Angaben unter /sys/devices/platform/smapi/BAT0/ hingegen sind stets korrekt.
 
Zuletzt bearbeitet:
Willkommen im Forum!

Du musst die Zeilen die du änderst auch auskommentieren (das Rautezeichen am Anfang der Zeile wegnehmen).

aha meinst du so?
Code:
# Main battery (values in %)
START_CHARGE_THRESH_BAT0=40
STOP_CHARGE_THRESH_BAT0=97
# Ultrabay battery (values in %)
START_CHARGE_THRESH_BAT1=40
STOP_CHARGE_THRESH_BAT1=97
problem ist aber dass ich immernoch keinen wechel gezeigt bekomme
Code:
/sys/devices/platform/smapi/BAT0/start_charge_thresh = 96 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh = 100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge = 0
 
Kann es sein, dass "DISABLE_TPACPIBAT=1" nicht greift?
Ich hab vor ein paar Tagen bemerkt, dass die Ladeschwellen bei mir nicht geändert werden. Da ich vor einiger Zeit neu installiert hatte, dachte ich es liegt vielleicht am fehlenden tpacpi-bat-Modul und hab halt umgestellt. tp-smapi-dkms ist installiert, aber irgendwie wird STOP_CHARGE_THRESH nicht gesetzt. Nicht nach sudo tlp start und nicht nach einem kompletten Neustart.

Code:
--- TLP 0.3.7.1 --------------------------------------------

+++ 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="128 128"
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
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
RESTORE_DEVICE_STATE_ON_STARTUP=1
STOP_CHARGE_THRESH_BAT0=85
DISABLE_TPACPIBAT=1

+++ System Info
System = LENOVO ThinkPad X220 4290W1B
BIOS = 8DET61WW (1.31 )
Release = Ubuntu 12.04.1 LTS
Kernel = 3.2.0-32-generic x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-3.2.0-32-generic root=/dev/mapper/system-root ro splash quiet vt.handoff=7

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

+++ Processor
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/sched_mc_power_savings = 1
/sys/devices/system/cpu/sched_smt_power_savings = 1
/proc/sys/kernel/nmi_watchdog = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp               =    47 [°C]
/proc/acpi/ibm/fan     =  1985 [/min]

+++ 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 = 60
/proc/sys/vm/dirty_background_ratio = 1
/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     = SAMSUNG SSD 830 Series                  
          Firmware  = CXM03B1Q
          APM Level = none/disabled
          TRIM      = supported
          scheduler = cfq


+++ 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
/sys/class/scsi_host/host4/link_power_management_policy = min_power
/sys/class/scsi_host/host5/link_power_management_policy = min_power

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (disabled by kernel)

+++ Intel Graphics
/sys/module/i915/parameters/powersave = 1
/sys/module/i915/parameters/i915_enable_rc6 = -1
/sys/module/i915/parameters/i915_enable_fbc = -1
/sys/module/i915/parameters/lvds_downclock = 0
/sys/module/i915/parameters/semaphores = -1

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

wlan0(iwlwifi): power management = on

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

+++ Battery
Hint: ThinkPad extended battery info not available (tp-smapi kernel module not installed).
/sys/class/power_supply/BAT0/manufacturer = SANYO
/sys/class/power_supply/BAT0/model_name = 42T4861
/sys/class/power_supply/BAT0/cycle_count = 0
/sys/class/power_supply/BAT0/energy_full_design = 63000 [mWh]
/sys/class/power_supply/BAT0/energy_full = 57760 [mWh]
/sys/class/power_supply/BAT0/energy_now = 54600 [mWh]
/sys/class/power_supply/BAT0/power_now = 7925 [mW]
/sys/class/power_supply/BAT0/status = Discharging

+++ Runtime Power Management
/sys/bus/pci/devices/0000:00:00.0/power/control = auto [Host]
/sys/bus/pci/devices/0000:00:19.0/power/control = auto [Ethernet]
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto [Audio]
/sys/bus/pci/devices/0000:03:00.0/power/control = auto [Wireless]
/sys/bus/pci/devices/0000:0d:00.0/power/control = auto [Card]

+++ USB
tlp usb autosuspend = enabled
tlp usb blacklist = (not configured)

Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =  2000 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 002 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =  2000 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 001 Device 003 ID 04f2:b217 control = auto, autosuspend_delay_ms =  2000 -- Chicony Electronics Co., Ltd  (uvcvideo)
 
Was willst Du denn genau erreichen:

  • Nur die obere Schwelle setzen?
  • Per tpacpi-bat oder per tp-smapi?

Bei dir scheint tp-smapi nicht da zu sein oder nicht zu funktionieren. Zeig:
Code:
dkms status
modinfo tp_smapi
sudo modprobe -v tp_smapi
 
Ja, ich hatte wieder einen Sprung über mehrere Prozent und wollte nur die obere Ladeschwelle setzen. Und tpacpi-bat hab ich seit dem Festplattenwechsel nicht mehr installiert (wird doch über tlp nicht mitinstalliert oder?), darum wollte ich das über tp-smapi machen.

Ich hab tp-smapi-dkms gerade deinstalliert und nochmal neu installiert. Jetzt scheint es da zu sein. Vielleicht hätte das modprobe ja auch gereicht, aber na ja...

Code:
dkms status
virtualbox, 4.1.12, 3.2.0-32-generic, x86_64: installed
Code:
dkms status
tp-smapi, 0.41, 3.2.0-32-generic, x86_64: installed
virtualbox, 4.1.12, 3.2.0-32-generic, x86_64: installed
fabio@ThinkPad~$ modinfo tp_smapi
filename:       /lib/modules/3.2.0-32-generic/updates/dkms/tp_smapi.ko
license:        GPL
version:        0.41
description:    ThinkPad SMAPI Support
author:         Shem Multinymous
srcversion:     B6841670771B2FF5222BFFD
depends:        thinkpad_ec
vermagic:       3.2.0-32-generic SMP mod_unload modversions 
parm:           debug:Debug level (0=off, 1=on) (int)
Code:
--- TLP 0.3.7.1 --------------------------------------------

+++ 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="128 128"
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
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=1
RESTORE_DEVICE_STATE_ON_STARTUP=1
STOP_CHARGE_THRESH_BAT0=85
DISABLE_TPACPIBAT=1

+++ System Info
System = LENOVO ThinkPad X220 4290W1B
BIOS = 8DET61WW (1.31 )
Release = Ubuntu 12.04.1 LTS
Kernel = 3.2.0-32-generic x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-3.2.0-32-generic root=/dev/mapper/system-root ro splash quiet vt.handoff=7

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

+++ Processor
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq =  2501000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies =  2501000 2500000 2200000 2000000 1800000 1600000 1400000 1200000 1000000  800000 [kHz]

/sys/devices/system/cpu/sched_mc_power_savings = 1
/sys/devices/system/cpu/sched_smt_power_savings = 1
/proc/sys/kernel/nmi_watchdog = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp               =    50 [°C]
/proc/acpi/ibm/fan     =  1965 [/min]

+++ 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 = 60
/proc/sys/vm/dirty_background_ratio = 1
/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     = SAMSUNG SSD 830 Series                  
          Firmware  = CXM03B1Q
          APM Level = none/disabled
          TRIM      = supported
          scheduler = cfq


+++ 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
/sys/class/scsi_host/host4/link_power_management_policy = min_power
/sys/class/scsi_host/host5/link_power_management_policy = min_power

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (disabled by kernel)

+++ Intel Graphics
/sys/module/i915/parameters/powersave = 1
/sys/module/i915/parameters/i915_enable_rc6 = -1
/sys/module/i915/parameters/i915_enable_fbc = -1
/sys/module/i915/parameters/lvds_downclock = 0
/sys/module/i915/parameters/semaphores = -1

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

wlan0(iwlwifi): power management = on

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

+++ ThinkPad Battery (Main)
/sys/devices/platform/smapi/BAT0/manufacturer = SANYO
/sys/devices/platform/smapi/BAT0/model = 42T4861
/sys/devices/platform/smapi/BAT0/manufacture_date = 2011-03-20
/sys/devices/platform/smapi/BAT0/first_use_date = 2011-05-07
/sys/devices/platform/smapi/BAT0/cycle_count = 81
/sys/devices/platform/smapi/BAT0/design_capacity = 63000 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 57760 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 47400 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 82 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = 208 [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now = -12099 [mW]
/sys/devices/platform/smapi/BAT0/power_avg = -9847 [mW]

/sys/devices/platform/smapi/BAT0/start_charge_thresh = (not available)
/sys/devices/platform/smapi/BAT0/stop_charge_thresh = 85 [%]
/sys/devices/platform/smapi/BAT0/force_discharge = (not available)

+++ Runtime Power Management
/sys/bus/pci/devices/0000:00:00.0/power/control = auto [Host]
/sys/bus/pci/devices/0000:00:19.0/power/control = auto [Ethernet]
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto [Audio]
/sys/bus/pci/devices/0000:03:00.0/power/control = auto [Wireless]
/sys/bus/pci/devices/0000:0d:00.0/power/control = auto [Card]

+++ USB
tlp usb autosuspend = enabled
tlp usb blacklist = (not configured)

Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =  2000 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =  2000 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 002 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =  2000 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 001 Device 003 ID 04f2:b217 control = auto, autosuspend_delay_ms =  2000 -- Chicony Electronics Co., Ltd  (uvcvideo)

Ich hoffe mal jetzt funktioniert alles. Falls nicht, meld ich mich nochmal.
 
Zuletzt bearbeitet:
Das Skript tpacpi-bat wird immer über das Paket tlp mit installiert (ich mach nicht wg. 1 Skript extra ein Paket). Um es auszuschalten kannst Du entweder das Paket acpi-call-tools deinstallieren oder eben DISABLE_TPACPIBAT=1 setzen.

Hast Du schon mal nur die obere Schwelle, aber per tpacpi-bat gesetzt?
 
Hast Du schon mal nur die obere Schwelle, aber per tpacpi-bat gesetzt?

Ja, das hatte ich die ganze Zeit so. Ich wollte nach dem Sprung nur die Ladeschwelle auf 100 setzen, damit der Akku wieder voll geladen wird und hab bemerkt, dass das nicht geht. Dann hab ich daran gedacht, dass ich mittlerweile ja auch neu installiert habe und dass vielleicht das Modul acpi-call fehlt (das meinte ich natürlich vorhin, nicht das Skript). Aber auch nachdem ich DISABLE_TPACPIBAT=1 gesetzt habe funktionierte es nicht. Ich schau heute Abend mal ob es jetzt klappt.
 
Es macht den Support hier übrigens bedeutend angenehmer (und schneller) wenn Du gleich das ursprüngliche Problem beschreibst statt mit deinem Workaround der irgendwo klemmt anzufangen ... :D

ps: die nächste Version von tlp-stat bekommt auf jeden Fall mehr Diagnose-Output zu tpacpi-bat/acpi-call und tp-smapi :).
 
Zuletzt bearbeitet:
Bei meinen Squeeze-installationen hab ich immer lucid genommen, vor einem dist-upgrade die Quelle deaktiviert und anschließend als precise wieder aktiviert. squeeze ist ja in etwa lucid und wheezy in etwa precise. Ich meine ist ist sogar egal du lucid oder precise einträgst, aber da dürfte sich linrunner selbst nochmal äußern ;)
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben