> For the complete documentation index, see [llms.txt](https://kazescripts.gitbook.io/kazescripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kazescripts.gitbook.io/kazescripts/kaze_phonepro/sim-data-and-battery.md).

# SIM, data and battery

Numbers on SIM cards, data plans and the battery system.

## SIM cards

Phone numbers live on SIM cards (`sim_card` item). Put a SIM in a phone by using the SIM item. With `Carrier.NewPhoneSim = true` every new phone comes with a SIM on the `StarterPlan`.

## Plans and data

Players buy plans in the **Carrier** app. A plan gives data (MB), lasts a number of days and can include calls and texts.

```lua
{ Id = 'weekly', Label = 'Weekly', DataMB = 4096, Days = 7, Price = 399, Calls = true, Sms = true, Tag = 'Popular' },
```

* `Days = 0` is a top-up: it only adds data.
* `Carrier.DataUsage.Apps` sets how much data each app uses per minute. Apps not listed use `Default`.
* `Carrier.DataUsage.Downloads` sets how much data installing an app uses.
* With `RequirePlanForCalls` / `RequirePlanForSms` a SIM without a plan cannot call or text.

## Battery

Every phone has its own charge, saved with the phone.

* Drains in standby, faster with the screen on and fastest in a call (`Battery.Drain`).
* Charges in a running vehicle and at charging stations (`Battery.Stations`).
* At 0 % the phone is off: it cannot be opened, callers hear "switched off" and nothing pops up.

Set `Battery.Enabled = false` to turn the system off.

Staff can set a battery with `/phonebattery <player id> <0-100>`.
