I've always practiced this....
Let a device fully power up (not to 100%, but until the hardware says it's fully charged).
Don't leave a fully charged item plugged in UNLESS you need 100% performance and unplugging drops it to a power-conserving mode (yeah, you can toggle settings, but 100% on battery = short time before plugging back in).
Routinely let a device completely run out before charging.
I've had batteries last for YEARS with this practice...even if the battery starts holding a charge for less time, it's still going strong for the most part.