Added support for autodetecting battery info sections
Fixed regexp for detecting stack traces