Update: So if I take out the battery and replug it so the phone thinks it is actually discharging like it is supposed to, when charging my phone wirelessly, after taking it off the charger, it actually says it is discharging. So the weird error only happens when plugging it in and unplugging it...