still logs if unknowm attribute called, 

as this can be useful for other users of batinfo.
but adds capacity attribute if possible by deduction
and use it if present in str() representation of the battery() object

Now it works fine on my system, and shows up correctly in Glances !!
What do you think of it ?

Thanks again for your consideration and reactivity !