README: Initial writeup
LICENSE: Initial writeup
Add rudimentary argument parsing code
Check battery path exists, or return an error
Rename get_first_battery to first_battery
Detect whether to use charge_* or energy_*
Read charge file contents into charge_* variables
Calculate charge percentage
Print final output to stdout
Avoid division by zero if the battery cannot hold a charge