Yes, this is solid advice. If you are going to leave it plugged in all the time, check on the battery regularly to make sure it isn't swelling.
Otherwise you may run into various issues caused by phone self-limiting power it takes from USB port. Some kind of negotiation needs to happen before the phone can safely raise the input power limits. If it needs more than currently allowed, it will just poweroff immediately, instead of satisfying the excess need from the battery.