LOS ANGELES, California (CNN) -- Singer Britney Spears' visitation rights with her children were suspended Thursday until she complies with court orders in her custody battle with her ex-husband Kevin Federline.
Britney Spears' visitation rights with her children have been suspended.
"Petitioner's (Spears') visitation with the minor children is suspended pending the petitioner's compliance with court orders," according to an order entered in Los Angeles Superior Court.
Court spokesman Allan Parachini said the order was signed Wednesday by the court commissioner handling her custody case.
Earlier this month, the court awarded full custody of the couple's two sons -- Sean Preston, 2, and Jayden, 1 -- to Federline, Spears' former backup dancer. Watch Britney appearance lead to media frenzy »
It is unclear what led to the decision.
Last month, a judge ordered Spears to submit to random drug tests after finding she engaged in "habitual, frequent, and continuous use of controlled substances and alcohol."
That order, by Superior Court Commissioner Scott Gordon, provided no details and did not name any specific drugs.
The parents had split custody 50-50, but Federline then asked for the arrangements to be shifted to 70-30 in his favor.
In addition to ordering the twice-weekly drug tests, Gordon ordered Spears to spend eight hours per week working with a "parenting coach," who was to observe her interactions with her children.
Gordon also told both parents to avoid alcohol or "other non-prescription controlled substances" 12 hours before taking custody of the children.
He also barred the exes from making "derogatory remarks about the other party and the other party's family or significant other" during the case. And he ordered the parents to go through "joint co-parenting counseling" and barred them from using corporal punishment on the boys.
Spears and Federline were married for two years before their divorce became final in July.
The custody battle comes amid a career freefall for Spears, whose new album is due to be released October 30.
After her September 9 "comeback" performance on the MTV Video Music Awards, critics derided her singing and dancing as lackluster and said she appeared out of shape in her sequined two-piece costume. Her former divorce lawyer, Laura Wasser, resigned last month as her legal representative after telling reporters the singer "just wants to be a mom."
Spears' management company, the Firm, recently quit after representing the singer for little over a month. E-mail to a friend
All About Britney Spears