diff --git a/CHANGELOG b/CHANGELOG index a8965903..6c35e13b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ jc changelog 20240422 v1.25.3 +- Add `battery_percentage` field to `bluetoothctl` parser output - Documentation updates 20240323 v1.25.2 diff --git a/docs/parsers/bluetoothctl.md b/docs/parsers/bluetoothctl.md index 1474b0bd..d09e800f 100644 --- a/docs/parsers/bluetoothctl.md +++ b/docs/parsers/bluetoothctl.md @@ -70,7 +70,8 @@ a controller and a device but there might be fields corresponding to one entity. "rssi": int, "txpower": int, "uuids": array, - "modalias": string + "modalias": string, + "battery_percentage": int } ] @@ -101,7 +102,8 @@ Examples: "Headset HS (00001831-0000-1000-8000-00805f9b34fb)" ], "rssi": -52, - "txpower": 4 + "txpower": 4, + "battery_percentage": 70 } ] @@ -132,4 +134,4 @@ Compatibility: linux Source: [`jc/parsers/bluetoothctl.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/bluetoothctl.py) -Version 1.1 by Jake Ob (iakopap at gmail.com) +Version 1.2 by Jake Ob (iakopap at gmail.com) diff --git a/man/jc.1 b/man/jc.1 index 9b111ed6..b5c85fcd 100644 --- a/man/jc.1 +++ b/man/jc.1 @@ -1,4 +1,4 @@ -.TH jc 1 2024-04-22 1.25.3 "JSON Convert" +.TH jc 1 2024-04-28 1.25.3 "JSON Convert" .SH NAME \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types, and strings