my hp widget is for some reason always zero when it shouldn't

Yes, but