Which model of PowerShot? My 4-year-old powershot SD450 still works very good.
May be you want to check Canon's camera recall list, it may be defect, and they will cover it.
My 5-year-old Nikon was announced defect in 2007, I sent it in in 2009, they fixed it for free, no question asked.