A method for tuning an antenna (170; 170a; 170b) in a portable electronic device (104; 104a; 104b), the method comprising: receiving a first set of data from a first input unit (158; 158a; 158n); determining a plurality of possible physical states of the portable electronic device (104; 104a; 104b) from a number of predefined physical states of the portable electronic device (104; 104a; 104b) using the first set of data, wherein the predefined physical states include at least one of: hand held operation against a head, resting on a desk, docked to a cradle, in a holster, in a car, and in a handbag; selecting and activating a second input unit (162; 162a; 162b) based on the determined plurality of possible physical states of the portable electronic device (104; 104a; 104b), the second input unit (162; 162a; 162b) selected from a plurality of additional input units and being in a standby or de-activated state before being activated; receiving a second set of data from the second input unit (162; 162a; 162b); deactivating the second input unit (162; 162a; 162b) in response to the receipt of the second set of data; selecting a physical state of the portable electronic device from the plurality of possible physical states using the second set of data, wherein - if the second set of data conclusively leads to only one possible physical state from the plurality of possible physical states, selecting the one possible physical state as the physical state of the portable electronic device, - if the second set of data cannot conclusively lead to only one possible physical state from the plurality of possible physical states, assigning a probability to each possible physical state using the second set of data, and selecting the physical state of the portable electronic device as the possible physical state with the highest probability; and tuning the antenna (170; 170a; 170b) based on the selected physical state of the portable electronic device (104; 104a; 104b). receiving a first set of data from a first input unit (158; 158a; 158n); determining a plurality of possible physical states of the portable electronic device (104; 104a; 104b) from a number of predefined physical states of the portable electronic device (104; 104a; 104b) using the first set of data, wherein the predefined physical states include at least one of: hand held operation against a head, resting on a desk, docked to a cradle, in a holster, in a car, and in a handbag; selecting and activating a second input unit (162; 162a; 162b) based on the determined plurality of possible physical states of the portable electronic device (104; 104a; 104b), the second input unit (162; 162a; 162b) selected from a plurality of additional input units and being in a standby or de-activated state before being activated; receiving a second set of data from the second input unit (162; 162a; 162b); deactivating the second input unit (162; 162a; 162b) in response to the receipt of the second set of data; selecting a physical state of the portable electronic device from the plurality of possible physical states using the second set of data, wherein - if the second set of data conclusively leads to only one possible physical state from the plurality of possible physical states, selecting the one possible physical state as the physical state of the portable electronic device, - if the second set of data cannot conclusively lead to only one possible physical state from the plurality of possible physical states, assigning a probability to each possible physical state using the second set of data, and selecting the physical state of the portable electronic device as the possible physical state with the highest probability; and - if the second set of data conclusively leads to only one possible physical state from the plurality of possible physical states, selecting the one possible physical state as the physical state of the portable electronic device, - if the second set of data cannot conclusively lead to only one possible physical state from the plurality of possible physical states, assigning a probability to each possible physical state using the second set of data, and selecting the physical state of the portable electronic device as the possible physical state with the highest probability; and tuning the antenna (170; 170a; 170b) based on the selected physical state of the portable electronic device (104; 104a; 104b).