The attorney's fees for services performed in connection with the filing of a petition and the obtaining of a court order under this chapter shall be determined by private agreement between the attorney and the client and are not subject to approval by the court. If there is no agreement between the attorney and the client concerning the attorney's fees for services performed in connection with the filing of a petition and obtaining of a court order under this chapter and there is a dispute concerning the reasonableness of the attorney's fees for those services, a petition may be filed with the court in the same proceeding requesting that the court determine the reasonableness of the attorney's fees for those services. If there is an agreement between the attorney and the client concerning the attorney's fees for services performed in connection with the filing of a petition and obtaining a court order under this chapter and there is a dispute concerning the meaning of the agreement, a petition may be filed with the court in the same proceeding requesting that the court determine the dispute.
Ca. Prob. Code § 6613