{
"$type": "site.standard.document",
"path": "/finding-battery-capacity-for-remarkable-tablet/",
"publishedAt": "2024-02-26T07:27:00.000Z",
"site": "at://did:plc:bryys25pc2fnagnyxqgsglhd/site.standard.publication/3mn26bjkkmh23",
"tags": [
"Scripts",
"reMarkable"
],
"textContent": "I like to get a feel for the battery conditions of my device. For the reMarkable, you can check after you ssh with:\n\nawk -F'=' '/POWER_SUPPLY_CHARGE_FULL=/{current=$2} /POWER_SUPPLY_CHARGE_FULL_DESIGN=/{design=$2} END{printf \"\\nBattery Health: %.2f%%\\n\", (current/design)*100}' /sys/class/power_supply/max77818_battery/uevent\n\nIt'll print something like:\n\nBattery Health: 95.25%",
"title": "Finding Battery Capacity for reMarkable Tablet"
}