Where are the files for System Information?
I don't know the file per-say, but you can use a simple shell script to get the battery cycle count, as seen here.
system_profiler SPPowerDataType | grep &quot;Cycle Count&quot; | awk '{print $3}'