Portál AbcLinuxu, 3. května 2025 01:58
$ time cat /proc/acpi/battery/BAT0/state present: yes capacity state: ok charging state: charged present rate: 3 mA remaining capacity: 1965 mAh present voltage: 16592 mV real 0m2.315s user 0m0.000s sys 0m0.097sNavic kernel s tim bootuje o hodne dyl. Pokud to mas rychlejsi tak by to bylo fajn. Tohle trva hooodne dlouho :(
$ time cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 1634 mAh
present voltage: 16768 mV
real 0m0.214s
user 0m0.000s
sys 0m0.069s
Navíc rychlost bych zde ani moc neřešil, důležité je, že to vůbec funguje.
~$ cat /proc/acpi/processor/CPU0/throttling state count: 8 active state: T0 states: *T0: 00% T1: 12% T2: 25% T3: 37% T4: 50% T5: 62% T6: 75% T7: 87% ~$
~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies 162500 325000 487500 650000 812500 975000 1137500 1300000 ~$i kdyz se zmeni scaling tak je taky naprosto chciplej, ale zere uplne stejne
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.