Carter Li
|
4d569db0fd
|
refactor: use MACH_PORT_NULL instead of magic number 0
|
2022-09-17 03:02:03 +08:00 |
|
Carter Li
|
d46f9ab4dc
|
util/cfdict_helpers: code improvements
1. simplify CFString usage
2. support get string from CFDataRef
|
2022-09-17 03:01:24 +08:00 |
|
Carter Li
|
d5500ad4f7
|
Battery: fix Intel compatibility
`MaxCapacity` on Intel MBP is not 100
|
2022-09-17 01:49:00 +08:00 |
|
李通洲
|
413d126bcc
|
Battery: add dirty support for macOS
|
2022-09-16 23:43:08 +08:00 |
|
李通洲
|
f362fdb01d
|
Battery: move detection code into src/detection
Prepare for macOS implementation
|
2022-09-16 23:43:08 +08:00 |
|