mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-01 14:37:46 +02:00
linux: added hardware entry
This commit is contained in:
parent
ecfbf58d04
commit
033ad68dfb
15
wiki/linux/hardware.md
Normal file
15
wiki/linux/hardware.md
Normal file
@ -0,0 +1,15 @@
|
||||
# Hardware
|
||||
|
||||
This entry focusses on various hardware components of a desktop PC or a laptop.
|
||||
|
||||
## Battery
|
||||
|
||||
The battery of a notebook can be inspected by using the `upower` command.
|
||||
To use it the tool needs to be installed.
|
||||
In most [Linux](/wiki/linux.md) distributions this is bundled in a package of the same name.
|
||||
A usage example is shown in the following command.
|
||||
It will show the state, voltage, percentage and many other information about a given battery.
|
||||
|
||||
```sh
|
||||
upower -i /org/freedesktop/UPower/devices/battery_BAT0
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user