https://github.com/leptos-null/iobat
[CLI] Battery temperature, as provided by IOKit
https://github.com/leptos-null/iobat
battery battery-monitor battery-temperature iokit temperature
Last synced: about 2 months ago
JSON representation
[CLI] Battery temperature, as provided by IOKit
- Host: GitHub
- URL: https://github.com/leptos-null/iobat
- Owner: leptos-null
- License: cc-by-4.0
- Created: 2019-12-26T00:11:15.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-19T17:23:14.000Z (almost 5 years ago)
- Last Synced: 2025-04-02T02:38:15.340Z (3 months ago)
- Topics: battery, battery-monitor, battery-temperature, iokit, temperature
- Language: Objective-C
- Homepage:
- Size: 11.7 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## IOBat
Battery temperature, as provided by IOKit.
This tool was originally developed to determine the temperature of my laptop while working outside on a hot day.
It has been adapted to compile for any platform with IOKit (e.g. macOS, iOS).
Exit status codes have been added to make using `iobat` with scripts easier.```
Usage: iobat [-s]
Battery temperature, as provided by IOKit
-s Silent, print nothingExit status is
0 if the temperature is within recommended operating temperatures,
1 if the temperature is too low,
2 if the temperature is too high,
3 if the temperature is either too high or low, but which cannot be determined.
```