Carter Li
|
852a729581
|
Battary (NetBSD): some basic investigation of acpi battery detection
|
2024-12-21 23:54:30 +08:00 |
|
Carter Li
|
0f454b7140
|
Battery (OpenBSD): add support
|
2024-12-21 23:54:30 +08:00 |
|
Carter Li
|
f7288fec01
|
Global: support DragonFly BSD
|
2024-11-03 08:35:11 +08:00 |
|
李通洲
|
bf1cd3388d
|
Battery (macOS): fix remaining time detection
|
2024-10-16 09:15:04 +08:00 |
|
Carter Li
|
e73d6db2e5
|
Battery (Linux): improve performance by specifying O_PATH
|
2024-10-15 10:18:26 +08:00 |
|
Carter Li
|
1c598add39
|
Chore (Linux): always ignore hidden files when enumerating directories
|
2024-10-15 10:16:58 +08:00 |
|
李通洲
|
c73b5914ab
|
Battery (macOS): report time remaining only when discharging
|
2024-10-14 15:58:31 +08:00 |
|
Carter Li
|
49076ec69d
|
Battery (Linux): simplify
|
2024-10-12 10:41:25 +08:00 |
|
Carter Li
|
1178f46aac
|
Battery (Linux): check if AC is connected
|
2024-10-12 09:38:19 +08:00 |
|
Carter Li
|
68406cd044
|
IO (Linux): use openat to simplify code
|
2024-10-11 16:36:08 +08:00 |
|
Carter Li
|
782474b068
|
Battery (Linux): revert back not to use uevent
Reading `uevent` is slow...
|
2024-10-11 16:24:19 +08:00 |
|
Carter Li
|
ec7c1855b3
|
Battery (FreeBSD): fix time remaining detection
oops
|
2024-10-11 00:23:04 +08:00 |
|
李通洲
|
af09de319b
|
Battery (Android): better status detection
|
2024-10-10 21:03:27 +08:00 |
|
李通洲
|
ff21dabfb7
|
Battery (FreeBSD): detect time remaining
|
2024-10-10 21:01:12 +08:00 |
|
Carter Li
|
27910cf6ec
|
Battery (Linux): calcuate time remaining with current & charge if time_to_empty is unavailable
|
2024-10-10 08:38:58 +00:00 |
|
Carter Li
|
daab70fafc
|
Battery (Linux): rewrite with uevent, add remaining time support
|
2024-10-10 16:04:27 +08:00 |
|
李通洲
|
4dccb92bb2
|
Battery: support time remaining detection
|
2024-10-10 15:57:17 +08:00 |
|
李通洲
|
81b0ddb2da
|
Chore: rename temps_apple
|
2024-09-24 10:37:54 +08:00 |
|
李通洲
|
9b4053e9dc
|
Chore: remove temps_linux
|
2024-09-24 01:51:45 +00:00 |
|
李通洲
|
3b1b81437e
|
Battery (Linux): add comments [ci skip]
|
2024-07-06 09:04:23 +08:00 |
|
Carter Li
|
edf24d9820
|
CPUCache: add detection by SMBIOS
|
2024-06-21 23:07:07 +08:00 |
|
李通洲
|
62bf3ec021
|
Util (Windows): add nt.h and use it
|
2024-05-17 21:30:47 +08:00 |
|
李通洲
|
6439921f85
|
Smbios (Windows): check if getting SMBIOS data succeeds
|
2024-05-11 18:07:56 +08:00 |
|
李通洲
|
fef3100fd7
|
Smbios: add struct layout check
|
2024-05-11 15:05:43 +08:00 |
|
李通洲
|
5fb1286e15
|
Battery (Windows): simplify code
|
2024-05-04 12:11:42 +08:00 |
|
李通洲
|
217f98a36c
|
Global: tidy json result formats
|
2024-05-03 13:56:19 +08:00 |
|
李通洲
|
4798c619d0
|
Battery (Android): fix uninitialized variables
Fix #760 and #838
|
2024-05-02 19:29:13 +08:00 |
|
Carter Li
|
b602bb20c2
|
Battery (Linux): print the same format of battery status as other platforms
|
2024-02-08 14:10:51 +08:00 |
|
Carter Li
|
46ed24275f
|
Battery (FreeBSD): fix typos
|
2024-02-08 13:59:02 +08:00 |
|
李通洲
|
805c384819
|
Battery (macOS): don't show an empty battery if no battery is detected
|
2024-02-08 10:37:06 +08:00 |
|
Carter Li
|
0eb76e9636
|
Battery (macOS): improve manufacture info detection
|
2024-01-20 21:38:24 +08:00 |
|
李通洲
|
5f638a67ed
|
Battery: rename manufacturerDate to manufactureDate
|
2024-01-10 19:03:58 +08:00 |
|
李通洲
|
fdb68669f4
|
Battery (macOS): support manufacture date detection
|
2024-01-10 13:26:54 +08:00 |
|
李通洲
|
12155e029b
|
Battery (Linux): support manufacture date detection
|
2024-01-09 23:08:19 +08:00 |
|
李通洲
|
7926b74917
|
Battery: detect manufacturer date
|
2024-01-09 22:58:32 +08:00 |
|
Carter Li
|
61af59fc00
|
Battery (Linux): fix temperature detection
|
2024-01-09 16:34:04 +08:00 |
|
李通洲
|
b6c8649cbf
|
macOS: improve IO service related code generally
|
2024-01-05 15:00:50 +08:00 |
|
李通洲
|
5eacd0bb8e
|
Battery (Apple): use less hard coded strings
|
2024-01-05 11:01:32 +08:00 |
|
李通洲
|
ea3ea196aa
|
Battery (Linux): simplify temp detection
|
2024-01-05 11:01:32 +08:00 |
|
李通洲
|
f4f466d4ba
|
Battery: print serial number
|
2024-01-04 16:21:19 +08:00 |
|
李通洲
|
10b2fe13bd
|
Battery (Windows): detect serial number
|
2024-01-04 16:20:48 +08:00 |
|
李通洲
|
b5dc4f59f1
|
Battery (macOS): detect serial number
|
2024-01-04 16:04:34 +08:00 |
|
Carter Li
|
b6b1993f62
|
Battery (Linux): code refactor, support serial number detection
|
2024-01-04 15:16:51 +08:00 |
|
Carter Li
|
cd0109c382
|
Battery (Linux): remove option --battery-dir
It was added in c5c3cecb93 but there was no comment or issues linked to indicate why it was necessary.
`/sys/class/power_supply` is standardized in <https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power>. I don't I want to support non-standard platform unless proper reason is given
|
2024-01-04 14:18:33 +08:00 |
|
李通洲
|
54bd4346ec
|
Temps (macOS): rename functions
|
2023-12-27 08:46:49 +08:00 |
|
Carter Li
|
b1f54ab7a2
|
Battery (Linux): fix temp detection for asahi
|
2023-12-26 16:44:13 +08:00 |
|
Carter Li
|
5a372882fa
|
Battery (Linux): tidy
|
2023-12-26 16:44:13 +08:00 |
|
apocelipes
|
e7aa6c3757
|
fix(Battery): fix overflow and uninitializations of battery cycle counts
|
2023-12-25 06:45:47 +00:00 |
|
apocelipes
|
113b1b8fc2
|
fix: fix trailing space
|
2023-12-23 02:55:14 +00:00 |
|
李通洲
|
3fda6e425a
|
Global: never leak fd to child processes
|
2023-12-04 15:14:40 +08:00 |
|