A sales executive was fired after she deleted an app on her phone that tracked her every move, allowing her employer to know where she was 24/7. Now she's suing for $500,000.

Judge Andrew Napolitano said that in the case of this traveling saleswoman, her employer had a legitimate interest in knowing where she was going, and that was the reason for the app.

"But they were also following her on her private time, which they did not have the right to do under California law, where she worked and where she lives," Judge Napolitano said.

He explained that most states have a right to privacy law that means an employer has no right to know where employees are when they are off company hours.

"Your company may have no interest in your whereabouts when you're on company hours if your whereabouts are not relevant to your work," Judge Napolitano said.

"So, what will happen to this lawsuit? She wins a little bit and the company wins a little bit."

Judge Napolitano added that she had no right to delete the app, but she could have disabled the phone while she was at home, on vacation or otherwise on her own time.

Where do you put your phone when you don't want anyone to know where you are? Gretchen Carlson asked.

"You ready for this? A refrigerator," Judge Napolitano said. "No signal can get in and no signal can get out."

Watch the "Real Story" clip above.


You might also be interested in ...

WATCH: BoltBus Catches Fire, Explodes on Mass. Pike

Alleged Witness Emerges in Natalee Holloway's 2005 Disappearance

Md. Man Brutally Beaten By Group of Teens

Police: 7 Bodies Found at Serial Killer Dumping Ground Since 2007