'use strict';
var osxBattery = require('osx-battery');

module.exports = function (cb) {
	if (process.platform !== 'darwin') {
		throw new Error('Only OS X systems are supported');
	}

	osxBattery(function (err, res) {
		if (err) {
			cb(err);
			return;
		}

	    cb(null, parseFloat((res.mAhRemaining / res.mAhCapacity).toFixed(4)));
	});
};

@@ -258,12 +258,9 @@
 %7D%0A%0A%09
-    
+%09
 cb(n

Use tabs everywhere