battery-present
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "battery-present", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Check if a specific battery is present", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -30,6 +30,7 @@ # battery-present | ||
### `batteryPresent([battery], callback)` | ||
### `batteryPresent([battery='BAT0'], callback)` | ||
Given an optional _String_ `battery`, calls `callback(true)` if that `battery` | ||
exists in the current system. Otherwise calls `callback(false)`. | ||
Given an optional _String_ `battery` (defaults to `'BAT0'`), calls | ||
`callback(true)` if that `battery` exists in the current system. Otherwise calls | ||
`callback(false)`. | ||
@@ -36,0 +37,0 @@ |
3067
38