项目作者: leptos-null

项目描述 :
[CLI] Battery temperature, as provided by IOKit
高级语言: Objective-C
项目地址: git://github.com/leptos-null/iobat.git
创建时间: 2019-12-26T00:11:15Z
项目社区:https://github.com/leptos-null/iobat

开源协议:Creative Commons Attribution 4.0 International

下载


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.

  1. Usage: iobat [-s]
  2. Battery temperature, as provided by IOKit
  3. -s Silent, print nothing
  4. Exit status is
  5. 0 if the temperature is within recommended operating temperatures,
  6. 1 if the temperature is too low,
  7. 2 if the temperature is too high,
  8. 3 if the temperature is either too high or low, but which cannot be determined.