o-marshmallow / PocketCHIP-pocket-home

PocketCHIP home screen: shows status, opens programs, changes settings
128 stars 32 forks source link

Spawning of Defunct Processes #17

Closed zwack-am closed 7 years ago

zwack-am commented 7 years ago

I installed the version from your repo and my pocket chip would have issues in the terminal about running out of processes. I'm probably unusual in that I am running pocket-home on the Standard Image. This is because I've added a service to have the CHIP reconfigure itself depending on whether it is running over HDMI, TzaTziffy, or oon the PocketCHIP.

The defunct processes were caused by the spawning of i2cget by Pocket-Home. I tracked the error to BatteryMonitor.cpp and have submitted a pull request to replace the guts of that portion of the class with a version written in plain C++

o-marshmallow commented 7 years ago

Thank you @zwack-am, Your pull request has been merged