Gospel Principles manual specifies behavior on the Sabbath.
Gospel Principles, The Church of Jesus Christ of Latter-day Saints, accessed December 2, 2021
We should consider righteous things we can do on the Sabbath. For example, we can keep the Sabbath day holy by attending Church meetings; reading the scriptures and the words of our Church leaders; visiting the sick, the aged, and our loved ones; listening to uplifting music and singing hymns; praying to our Heavenly Father with praise and thanksgiving; performing Church service; preparing family history records and personal histories; telling faith-promoting stories and bearing our testimony to family members and sharing spiritual experiences with them; writing letters to missionaries and loved ones; fasting with a purpose; and sharing time with children and others in the home.
In deciding what other activities we could properly engage in on the Sabbath, we could ask ourselves: Will it uplift and inspire me? Does it show respect for the Lord? Does it direct my thoughts to Him?
There may be times when we are required to work on the Sabbath. We should avoid this whenever possible, but when it is absolutely necessary, we should still maintain the spirit of Sabbath worship in our hearts as much as possible.