How to find out how many watts per hour a laptop is using freebsd?
acpiconf -i 0 | grep rate
for present rate.acpiconf -i 0 | grep rate
for present rate.
root@F3ja:/usr/home/luba # acpiconf -i 0 | grep rate
Present rate: unknown
Code:root@F3ja:/usr/home/luba # acpiconf -i 0 | grep rate Present rate: unknown
acpiconf -i 0
?If you are in the US, the commonly used model is called "kill-a-watt".Buy something like this:
![]()
220v Ac Smart-Socket Digital Wattmeter Eu Plug Power Meter Electricity | eBay
Find many great new & used options and get the best deals for 220v Ac Smart-Socket Digital Wattmeter Eu Plug Power Meter Electricity at the best online prices at eBay! Free delivery for many products.www.ebay.co.uk
Please show all output ofacpiconf -i 0
?
(on AC power and battery)
What make & model laptop?
root@F3ja:/usr/home/luba # acpiconf -i 0
Design capacity: 40211 mWh
Last full capacity: 40211 mWh
Technology: primary (non-rechargeable)
Design voltage: 11340 mV
Capacity (warn): 4838 mWh
Capacity (low): 2823 mWh
Cycle Count: 0
Mesurement Accuracy: 95 %
Max Sampling Time: 25000 ms
Min Sampling Time: 15000 ms
Max Average Interval: 35000 ms
Min Average Interval: 25000 ms
Low/warn granularity: 10 mWh
Warn/full granularity: 25 mWh
Model number: Primary
Serial number: SerialNumber
Type: LION
OEM info: HP
State: charging
Remaining capacity: 63%
Remaining time: unknown
Present rate: unknown
Present voltage: 12495 mV
As smithi said the energy is described by Watt multiplied with hours, Wh as the short form. If it is about much energy one see often kWh or MWh with k as a factor of 1000 and M as 1000x1000.How to find out how many watts per hour a laptop is using freebsd?
Code:root@F3ja:/usr/home/luba # acpiconf -i 0 Design capacity: 40211 mWh Last full capacity: 40211 mWh Technology: primary (non-rechargeable)
Code:Cycle Count: 0 Mesurement Accuracy: 95 % [ ... ] OEM info: HP State: charging Remaining capacity: 63% Remaining time: unknown Present rate: unknown Present voltage: 12495 mV
HP Laptop 15s-eq3636nz
root@F3ja:/usr/home/luba # kldstat | grep acpi
10 1 0xffffffff8278a000 9430 acpi_video.ko
36 1 0xffffffff839fb000 3378 acpi_wmi.ko
Apr 2 20:48:30 F3ja kernel: acpi_wmi0: <ACPI-WMI mapping> on acpi0
Apr 2 20:48:30 F3ja kernel: acpi_wmi0: Embedded MOF found
Apr 2 20:48:30 F3ja kernel: ACPI: \AOD.WQBA: 1 arguments were passed to a non-method ACPI object (Buffer) (20201113/nsarguments-361)
Apr 2 20:48:30 F3ja kernel: driver bug: Unable to set devclass (class: ppc devname: (unknown))
Apr 2 20:48:30 F3ja kernel: ig4iic0: <Designware I2C Controller> iomem 0xfedc2000-0xfedc2fff irq 10 on acpi0
Apr 2 20:48:30 F3ja kernel: iicbus0: <Philips I2C bus (ACPI-hinted)> on ig4iic0
Apr 2 20:48:30 F3ja kernel: ig4iic1: <Designware I2C Controller> iomem 0xfedc5000-0xfedc5fff irq 6 on acpi0
Apr 2 20:48:30 F3ja kernel: iicbus1: <Philips I2C bus (ACPI-hinted)> on ig4iic1
Apr 2 20:48:30 F3ja kernel: iicbus1: <unknown card> at addr 0x15
Apr 2 20:48:30 F3ja kernel: acpi_wmi1: <ACPI-WMI mapping> on acpi0
Apr 2 20:48:30 F3ja kernel: acpi_wmi1: Embedded MOF found
Apr 2 20:48:30 F3ja kernel: ACPI: \_SB.WMID.WQAB: 1 arguments were passed to a non-method ACPI object (Buffer) (20201113/nsarguments-361)
Apr 2 20:48:30 F3ja kernel: driver bug: Unable to set devclass (class: ppc devname: (unknown))
Try loading acpi_hp (if not already loaded).
This guide can not be up to date (despite last update time).That's best to see which components are using how much power, where you can use guides like the excellent:
shows only the power consumption of the processor, but I need the full consumption of all componentsThe powertop(8) tool is not available on FreeBSD (its available in Linux world) but there is also powermon(8) that works on FreeBSD just fine.
The powertop(8) tool is not available on FreeBSD (its available in Linux world) but there is also powermon(8) that works on FreeBSD just fine.
shows only the power consumption of the processor, but I need the full consumption of all components
That's best to see which components are using how much power, where you can use guides like the excellent:
TuningPowerConsumption - FreeBSD Wiki
This guide can not be up to date (despite last update time).
Besides it has settings that can break other things - for example hw.snd.latency=7 breaks sound in WINE.
My 'default' FreeBSD value is '2'.I have both guides open as tabs and bookmarked here; both are mostly useful.
I like that Alexander's doesn't erase history, which is rather an unfortunate tendency recently. Doubling battery time is still a worthy aim.
Have you informed mav@ about the hw.snd.latency issue? What would be a better value
% sysctl hw.snd.latency
hw.snd.latency: 2
I have both guides open as tabs and bookmarked here; both are mostly useful.
I like that Alexander's doesn't erase history, which is rather an unfortunate tendency recently. Doubling battery time is still a worthy aim.
Have you informed mav@ about the hw.snd.latency issue? What would be a better value?
All here:And how to increase the battery life? Any instructions?
And how to increase the battery life? Any instructions?
And how to increase the battery life? Any instructions?
My 'default' FreeBSD value is '2'.
% sysctl hw.snd.latency
hw.snd.latency: 2
The '7' options maybe increases some battery life - if you do not use/need WINE then maybe its a good compromise - but nothing like that is stated there![]()
... and to be honest I have lost a lot of my life trying to figure out why suddenly sound under WINE apps is so broken - thinking that its WINE fault.