handle "unknown" state

Just after plugging in, the battery's charging state is read as "unknown". This shouldn't be a warning, just means it's probably not charging yet, so pushes a 0 onto the state array.

also, rename status to state in warning message