Commit Graph

14 Commits

Author SHA1 Message Date
Shrinivas Kumbhar aae112d7d9
Use `psutil` in conjuction with `dmidecode` to determine `ac_state` (#168)
* use psutil to determine ac_state
2021-02-06 21:39:56 +01:00
Adnan Hodzic 82b41f4ce2 Improved auto-cpufreq version detection for aur package 2021-02-06 21:29:44 +01:00
Adnan Hodzic 9fcc99d5cd Add note/instruction on how quit live/monitor/stats 2021-02-06 20:35:40 +01:00
Adnan Hodzic 6bffee4535 Output auto-cpufreq version for snap/aur/auto-cpufreq-installer 2021-02-05 07:43:34 +01:00
Adnan Hodzic d062ca940f Add execution timestamp for to `--stats` 2021-02-04 20:25:17 +01:00
Adnan Hodzic 8a62c02c08 Turn `computer_type` into a list 2021-02-04 16:40:19 +01:00
Adnan Hodzic 3985d3ef5a Hot-fix for laptops reporting wrong charing status (Close: #164) 2021-02-04 08:56:22 +01:00
Shrinivas Kumbhar 5d26803204
use dmidecode and dependancies update (#163) 2021-02-03 09:18:03 +01:00
Adnan Hodzic bb63f7148a Improved missing `log` message 2021-02-02 22:10:42 +01:00
Marco Vermeulen 02d58f9f20
Improve domain language around logging and stats (#160)
* Ignore Pycharm descriptors from VCS.

* Rename all occurances of `log` to `stats`.

* Rename log file to stats and move to /var/run

* Bring back --log switch with deprecation message.
2021-02-02 21:40:55 +01:00
ThePoorPilot fc56e2a1cb
Adjust CPU frequency scaling on desktop to run in "performance" governor #162
If it detects the device is a laptop, it should default to the regular method of determining ac_state
If the device returns any other output, it should default to ac_state=true

continued work originally started in #158
2021-02-02 21:21:51 +01:00
Adnan Hodzic 5e38ada748 Fix "Unable to remove via --remove option for Snap package" (Close #161) 2021-02-02 20:56:56 +01:00
Technical27 f3f652d69e
Improve logging (#148)
Now auto-cpufreq will write directly to the log file or stdout.
The file will automatically be cleared when on each refresh and on
startup.
2021-01-24 13:14:11 +01:00
Mark Wagie a91d4ba36e
Improved Python file structure (rename source > auto_cpufreq) #153 2021-01-21 07:55:23 +01:00