Obama knocks Trump for cable watching and tweeting
President Barack Obama delivers a statement in the James S. Brady Press Briefing Room of the White House regarding the mass shooting at Sandy Hook Elementary School in Newtown, Connecticut, Dec. 14, 2012. (Official White House Photo by Lawrence Jackson)

Former President Barack Obama has followed precedent and stayed away from criticizing President Trump.

But on Wednesday, Obama couldn't help but take a swipe at the president's excessive cable viewing and tweeting. At a tech conference Wednesday, Obama described the key to his success, which included a competent, trustworthy staff, Axios reports.

"The other thing that is helpful is not watching TV or reading social media," Obama added.