Added return (0) to the Mac/IOKit variant of battery_read()

Added return (0) to the Mac/IOKit variant of battery_read() to prevent compiler warning/error.