Add isCharging()

- New SMC key - SMC_KEY.BATT_INFO - "BSIn"
- Cleanup to open() - use consts