I've modified BatteryMonitor.cpp so instead of spawning a child process for every i2cget it simply uses C to directly query the I2Cdevices and read the appropriate registers. This adds less overhead and resolves the issues I was having with defunct processes.
I've modified BatteryMonitor.cpp so instead of spawning a child process for every i2cget it simply uses C to directly query the I2Cdevices and read the appropriate registers. This adds less overhead and resolves the issues I was having with defunct processes.