I also do not know exactly anymore, I need to dive into the code for more details.
From my memory:
PI: go to idle(low-power)
PNI: come out of idle
Bx,y: x: state charging, discharging, y: percentage reported by battery driver
The timestamp is a unix timestamp (seconds since 1/1/1970)