Niacin issues don't usually happen right after hatch.
This is a baby that hasn't found its feet yet, it's normal for them to stumble and sleep a lot. You did well giving him some sugar water and warming him up, but you'll need to carefully put him back or give him to a wildlife rescue. She might...