Where are the files for System Information? I'm just curious if anyone knows where I can find the files that feed the data into the System Information Application (ATA, Audio, etc).

I am interested in writing a program that sends an email every time the battery cycle count increases. 

Thanks.
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}'