В Fedora (и ОС Qubes )имя пакета, предоставляющего команду cpupower
, —kernel-tools
Примеры:
В Qubes OS 4.0 dom0:
[ctor@dom0 ~]$ sudo qubes-dom0-update kernel-tools
...
Installed:
kernel-tools.x86_64 4.13.16-100.fc25 kernel-tools-libs.x86_64 4.13.16-100.fc25
[ctor@dom0 ~]$ sudo cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
boost state support:
Supported: yes
Active: yes
В Fedora 28 VM (Qubes OS 4.0):
[user@dev01-w-s-f-fdr28 ~]$ sudo dnf install kernel-tools
...
Installed:
kernel-tools.x86_64 4.17.19-200.fc28
kernel-tools-libs.x86_64 4.17.19-200.fc28
[user@dev01-w-s-f-fdr28 ~]$ sudo cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
boost state support:
Supported: no
Active: no
Возможно, в Qubes OS не так...
См. также этот ответ, если вас интересует чистая Fedora (, т.е. ОС НЕ Qubes ).
Существует несколько инструментов для проверки состояния питания вашего компьютера.
Вы можете попробовать установить upower
, если у вас его еще нет. Затем запустите:
upower -e
Отобразятся обнаруженные устройства.Затем запустите информационный режим на батарее в соответствии с имеющимся у вас устройством :
.upower -i /org/freedesktop/UPower/devices/battery_BAT0
Это даст вам следующую информацию. Вы можете посмотреть наenergy-rate
native-path: BAT0
vendor: SMP
model: DELL 1P6KD5A
serial: 2206
power supply: yes
updated: Mon 04 Jan 2021 11:56:02 PM CET (102 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
warning-level: none
energy: 38.5434 Wh
energy-empty: 0 Wh
energy-full: 38.5434 Wh
energy-full-design: 83.9952 Wh
energy-rate: 0.0114 W
voltage: 12.382 V
percentage: 100%
capacity: 45.8876%
technology: lithium-polymer
icon-name: 'battery-full-charged-symbolic'