Will a lithium 2,800mAh battery work in a device that used a 3,000mAh battery?

I have a ZTE device that uses a 2800 but the charging port went bad. My friend has the newer version of the device but it has a 3000 battery in it
3 answers 3