Lithium Ion battery stopped charging
That chip looks to be a Seaward Electronics SE9017-LF. "Standalone Linear Lithium Battery Charger". You can download the datasheet from this page.

I found this by googling "017tl ic".  Somehow Google made the link between that part marking and the actual IC part number; I didn't see the "017tl" marking anywhere on the datasheet.

I cannot find this IC from any of my standard distributors in the USA.  It looks like Alibaba has it in high quantity :)  Hopefully you can find someone that will sell in smaller batches.